I have finally found the way. I leave some examples here: As JSON: http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5720&languages=en&format=json As XML: http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5720&languages=en&format=xml
Using title: http://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Valencian%20Community&languages=en&format=xml Regards, César 2013/10/4 Eugene Alvin Villar <sea...@gmail.com> > On Fri, Oct 4, 2013 at 1:35 AM, César Martínez Izquierdo < > cesar....@gmail.com> wrote: > >> Thanks Eugene, that looks really promising. >> I've seen there is an API to query Wikidata (results can be list of >> Wikidata item IDs encoded as JSON), but I don't see the way to get the item >> itself as JSON (or any other parseable format). Is it on the way? >> > > Unfortunately, I am not up-to-par with the API side of Wikidata. I assume > that every bit of data on Wikidata can or will be accessible through APIs. > Otherwise, it would limit the usefulness of Wikidata if we resort to > scraping the HTML page. > > > -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - César Martínez Izquierdo GIS developer - - - - - - - - - - - - - - - - - - - - ETC-SIA: http://sia.eionet.europa.eu/ Universitat Autònoma de Barcelona (SPAIN) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk