We dont have great support for this. The best i know of is the "credit"
field in
https://commons.wikimedia.org/w/api.php?generator=categorymembers&gcmti…
but might need to parse some html (unless the data is included in exif/xmp
in which case there is a different api query you can use). Also keep in
mind you have to use the continue parameter to get the next page of results.
Hope that helps,
--bawolff
On Thursday, November 26, 2015, Jesse de Vos <jdvos(a)beeldengeluid.nl> wrote:
Hi everyone,
We’re trying to get a clearer picture of what material we have on
Wikimedia Commons
so that our next batch upload doesn’t duplicate with
material that is already on Commons. The category: Media from Open Beelden
contains all the files and we would like to have all the metadata on
Commons for that category (specifically the 'source' URL) to match against
our new content upload.
Does anyone know how to gather this using the Commons API? Basically, a
call to the
API with the “File:title” field that would return a JSON object
with all the metadata is exactly what we need. Help would be much
appreciated!
Best,
Jesse
--
Met vriendelijke groet,
Jesse de Vos
Researcher Interactive and New Media
T 035 - 677 39 37
Aanwezig: ma t/m do
<
https://ci4.googleusercontent.com/proxy/-SRFha-hgXruUwURqU-2UHoKrRDxJA1bV-l…
Nederlands Instituut voor Beeld en Geluid
Media Parkboulevard 1, 1217 WE Hilversum | Postbus 1060, 1200 BB Hilversum |
beeldengeluid.nl