You are not logged in.
I recently notice <https://shields.io/>, it allow user to customize a badge:
```
https://img.shields.io/badge/dynamic/js … x=<SUFFIX>
https://img.shields.io/badge/dynamic/xm … x=<SUFFIX>
https://img.shields.io/badge/dynamic/ya … x=<SUFFIX>
```
So, is there AUR exists any api like <https://codestats.net/api-docs> or <https://wakatime.com/developers/>? Such as:
```
GET /api/users/Freed HTTP/1.1
{
"Username": "Freed",
"Account Type": "User",
"Real Name": "wzy",
"Homepage": "https://freed-wu.github.io",
"IRC Nick": "wzy",
Status: "Active",
"Registration date": "2022-03-02 (CST)",
"Last Login": "2022-05-25 (CST)",
"package number": 13,
"packages": {...}
}
```
Then user can use
```
[![aur](https://img.shields.io/badge/dynamic/js … reed&SeB=m)
```
In their `README.md`
Last edited by Freed (2022-10-27 13:34:26)
An adherent of hacker culture and open source.
Offline
No - the information is not public in the first place. There is only a list of AUR users: https://aur.archlinux.org/users.gz
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
There's the AUR RPC which provides information for packages which can be searched by the maintainer user name. I don't believe you can retrieve user information, though based on your description, I'm not sure why you'd want user information - if you want to pick a "shield" to display on an upstream source repo page, then you'd only need to request information for that package, not for a give user.
EDIT: Alad, what do you mean that information is not "public"? I am not aware of a JSON API for it, but it is readily displayed openly on the web, how is that not public? E.g., here's yours:
https://aur.archlinux.org/account/Alad
Last edited by Trilby (2022-05-24 18:17:02)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
EDIT: Alad, what do you mean that information is not "public"? I am not aware of a JSON API for it, but it is readily displayed openly on the web, how is that not public? E.g., here's yours:
https://aur.archlinux.org/account/Alad
Well, you have to login to view it. I am currently not logged in, so I get:
You must log in to view user information.
Last edited by Alad (2022-05-24 18:22:02)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Ah, that makes sense - thanks.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online