Thank you Ed,
You might be interested in the list=geosearch API call. I used it in
my demo service ici, which displays articles about your current
location:
http://inkdroid.org/ici/
I actually ended up pulling out the api querying bits into a separate
Javascript library called wikigeo that takes some coordinates, and
will query the Wikipedia API, and format the results as GeoJSON for
easy placement on Leaflet or Google Maps.
http://edsu.github.io/wikigeo/
//Ed
> Hi,
>
> wiki exposes the nearby search of articles:
> http://en.m.wikipedia.org/wiki/Special:Nearby
>
> I now you can use prop=coordinates to expose the coordinates of one article.
>
> http://en.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=New%20Jersey|Venice&format=jsonfm
>
> Is there any api to expose the nearby service for fetching articles close to
> one's coordinate?
> How to do the nearby above?
>
>
>
> --
> Luigi Assom
>
> Skype contact: oggigigi
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api