6
votes
API to get Wikimedia Commons categories that are near a particular latitude/longitude
There is a more direct way to get this from Wikidata, if you want an API. That's the API used by AutoList. Returns JSON or JSONP.
Example query to retrieve all Commons categories within 0.1 kilometer ...
4
votes
Publishing (structured?) data about products: information about products, barcodes, photos (incl. packaging)
As you can see in Wikimedia Commons, packages usually involve some copyrighted content and therefore its image can't be published under a free license. It can only be published with permission of ...
4
votes
API to get Wikimedia Commons categories that are near a particular latitude/longitude
Wikidata can do it!
Using autolist, run the query claim[373] and around[625,40.7576,-73.9857,50] [link].
This will give you all items with a commons category property (P373) and a location (P625) up ...
2
votes
"Fuzzy" search of Mediawiki Commons categories
First variant: MediaWiki API for Commons with search query for pages of type "Category" (srnamespace=14), maximum 10 results (srlimit=10), and searched string your_string:
https://commons.wikimedia....
2
votes
Accepted
API to get Wikimedia Commons categories that are near a particular latitude/longitude
You can use WikiData SPARQL service to run it
SELECT ?place ?location ?distance ?placeLabel ?commons WHERE {
?place wdt:P373 ?commons.
SERVICE wikibase:around {
?place wdt:P625 ?location .
...
2
votes
Accepted
Wikimedia Commons API image by category
Yes, Wikimedia Commons exposes MediaWiki API.
Basically, your query should be the following:
https://commons.wikimedia.org/w/api.php
?action=query
&list=categorymembers
&cmtitle=Category:...
2
votes
Accepted
Live database of checksums of all files on Wikimedia Commons
Wikimedia Commons has developed a special API exactly for this, with the keyword aisha1 which stands for "All Images with a given SHA1".
API usage
Let's say you want to check whether your ...
2
votes
Accepted
How to get "Author" field for Wikimedia Commons audio file
This is absolutely in the output of your query.
In the Json output, look in query> pages> 3532106> ImageInfo> 0> extmetadata> Artist> value, and you'll get the following data, ...
1
vote
Accepted
Find most-depicted Wikidata items that have no image
You can do a federated query with the Wikimedia Commons endpoint and the Wikidata endpoint. The query below does take a while to complete - though.
SELECT
?count
?depicted ?depictedLabel
?...
1
vote
API to get Wikimedia Commons images that are near a particular latitude/longitude
The closest thing that I know is the Wikidata Query, with around and filtered for images. But it is not a perfect fit for your usecase since you need to limit by radius rather than by number of images....
1
vote
API to get Wikimedia Commons categories that are near a particular latitude/longitude
There does not seem to be a Wikipedia API. It looks like geonames.org has some of this functionality though.
For example, take a look at the results of this page: http://www.geonames.org/maps/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wikimedia-commons × 14api × 5
images × 4
wikidata × 3
geospatial × 2
sparql × 2
wikipedia × 2
data-request × 1
nlp × 1
releasing-data × 1
photographs × 1
wikibase × 1