This API is used to get uploads by a user.
https://tools.wmflabs.org/commons-android-app/tool-commons-android-app
/uploads_by_user_and_duration.py
GET
JSON
- user - This is username of the user, for example Syced (if username has whitespaces then replace them with
_
)
curl --location --request GET 'https://tools.wmflabs.org/commons-android-app/tool-commons-android-app/uploads_by_user_and_duration.py?user=Syced'
{
"status": "200",
"data": {
"yearly": 189,
"weekly": 0,
"all_time": 1449
},
"user": "Syced"
}
Note: Returns 0 if username is invalid
{
"status": "200",
"data": {
"yearly": 0,
"weekly": 0,
"all_time": 0
},
"user": "asdasdad1a5sd1a61s5d1a"
}