Friends.
How to get the list of images with the thumbnail url and meta data of all the images uploaded by a particular user?
Here is a sample api for getting all the images with info of a given category "Coins_in_the_Walters_Art_Museum"
https://commons.wikimedia.org/w/api.php?action=query&generator=categorym...
Like this, I want to get the info of all images uploaded by any given user.
Please help me to design the api.
Thanks.
The part of the manual to look through is at http://www.mediawiki.org/wiki/API:Usercontribs, I think.
Here is an example showing Russavia's last 500 edits, the xml shows you where to continue listing to find the next 500 and so forth. You can query a maximum of 500 edits unless you are using a registered bot account. In this example, items listed with a flag 'new=""' are new files uploaded and you could filter and create a report on this basis just showing new files.
http://commons.wikimedia.org/w/api.php?action=query&list=usercontribs&am...
Maybe there's an easier query, but this would be my quick hack.
Fae
On 20 May 2013 19:48, Shrinivasan T tshrinivasan@gmail.com wrote: ...
Like this, I want to get the info of all images uploaded by any given user.
Please help me to design the api.
-- faewik@gmail.com http://j.mp/faewm Guide to email tags: http://j.mp/mfae Personal and confidential. Unless otherwise stated, do not copy, quote or forward this email for any reason without permission.
http://commons.wikimedia.org/w/api.php?action=query&list=usercontribs&am...
Thanks for the info.
This works fine.
Have some queries.
1. How to get the next set of 500 images via api? 2. How to get the url of the image, url of the thumbnail and image metadata.?
Thanks.