API talk:Nearby places viewer

Jump to navigation Jump to search

About this board

Nathanb94 (talkcontribs)

Hi,

I have a problem withe the answer of this model of request(

https://en.wikipedia.org/w/api.php?action=query&format=json&prop=coordinates%7Cpageimages%7Cpageterms&colimit=50&piprop=thumbnail&pithumbsize=144&pilimit=50&wbptterms=description&generator=geosearch&ggscoord=37.786952%7C-122.399523&ggsradius=10000&ggslimit=2)

it's return the POIs around a specific location but the json format is not correct:

the Key "pages" is an object but contains list of POIs.

I think that it's must be change to be an array.

nathan

Reply to "json response format problem"
There are no older topics