Hey !

Thanks for your answer. Now with the documentation you gave me, I'm able to catch the URL of the pages concerned, like this :
https://en.wikivoyage.org/w/api.php?action=query&prop=coordinates|info&inprop=url&generator=geosearch&ggscoord=50.6|3.02&ggsradius=10000&ggslimit=50&ggsradius=10000&ggslimit=50

But I still have some issues. I'm trying to use it in different languages. It works in english, but I'd like to have results from the french version of Wikivoyage. I don't know why, it doesn't work by calling https://fr.wikivoyage.org/w/api.php? ... same request. I've no answer, even if the page actually exists.

Maybe you got an idea ?

Thanks a lot for your help.

Le 22/07/2015 03:25, S Page a écrit :
There's an article about getting pages nearby with action=geosearch,
http://devhub.wmflabs.org/wiki/API:Showing_nearby_wiki_information [1], I
welcome feedback.

On Jul 21, 2015 10:40, "Sylvain Arnouts" <[email protected]> wrote:

I know it's possible with Wikidata API to enter a position (longitude and
latitude), a range, and have all Wikipedia pages around.

How? I don't see such a feature in the wikidata modules for the MediaWiki
API at https://www.wikidata.org/w/api.php , and I wasn't aware of a
Wikidata query service for querying within a range of coordinate location.

[1] The same content is also at
https://www.mediawiki.org/wiki/API:Showing_nearby_wiki_information
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to