Mehdzor
Mehdzor

Reputation: 799

Empty result list for Google Places API

I'm using google places api for retrieving info about cafes in different cities. But sometimes it returns empty results even if there should be items. How I search for cafes in Gudauta:

https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=<key>&location=43.27,40.27&radius=500&types=cafe

Also there is no places even on simple maps but I sure they should be there.

enter image description here

How it looks like in Foursquare:

enter image description here

The kind of request works fine for huge cities like Vienna or Moscow but fails for small and middle ones.

Is it google bug/lack of data or I do something wrong?

Upvotes: 2

Views: 800

Answers (1)

Dr.Molle
Dr.Molle

Reputation: 117334

  1. google may only return results based on their data, foursquare may have other data, so you can't compare them
  2. the location in your request is placed in a disputed region(abchasia), google usually will not provide data for such regions at all to avoid conflicts

Upvotes: 1

Related Questions