[Mediawiki-api] can I use the API to search for images in commons.wikimedia.org?

Timothy Helck timothy.helck at gmail.com
Thu Dec 29 21:21:28 UTC 2011


I want to add a widget to a web page that will allow user to enter search
terms and search wikimedia for images that match the terms. I have
implemented a similar widget for flickr, using their API, but am having
trouble doing the same with wikimedia.

Basically, I would like to replicate the functionality of the
commons.wikimedia.org search page. Ideally I would like to be able to get a
Category listing (ex. http://commons.wikimedia.org/wiki/Chartres_Cathedral)
or a true search results (ex.
http://commons.wikimedia.org/w/index.php?title=Special%3ASearch&search=%22chartres+cathedral),
but at this point I would be happy with either.

I've tried using the allimages list, but that is not adequate. Is there any
other way to search images using the API?

I have also been looking at Freebase and DBPedia. These seem like they
might do what I want, but RDF is completely new to me and I'm still trying
to figure out the basics of it. If anyone can point me in the right
direction for either of those resources, I would appreciate it.

Regards.

Tim Helck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20111229/c491cc22/attachment.htm 


More information about the Mediawiki-api mailing list