Reputation: 5386
The documentation says how I can limit searches to a country by using componentRestrictions. However, the documentation apparently only relates to JavaScript.
I'm doing a regular request from a PHP application, and need to limit a place search to a country. However, I can't see how I can limit search results to a country using a regular GET request.
Upvotes: 2
Views: 518
Reputation: 8786
I believe you can just add components=country:XX
to your request URL :)
Upvotes: 2