Create venue without providing ll

给你一囗甜甜゛ 提交于 2019-12-13 00:33:46

问题


This url I am hitting for searching the venues

https://api.foursquare.com/v2/venues/search?ll=undefined%2Cundefined&query=A&limit=25&v=20170721&m=foursquare&client_id=CLIENTID&client_secret=CLIENTSECRET

It gives me the near by venues but I need to get overall venues around the world... So when I don't put the ll it throws error must provide ll

How can I search for all the venues ?

Any help would be appriciated


回答1:


You can use intent=global param.

e.g.

https://api.foursquare.com/v2/venues/search?intent=global&query=A&limit=25&v=20170721&m=foursquare&client_id=CLIENTID&client_secret=CLIENTSECRET



来源:https://stackoverflow.com/questions/51817750/create-venue-without-providing-ll

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!