创造场地,但不提供场地[英] Create venue without providing ll

本文是小编为大家收集整理的关于创造场地,但不提供场地的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

这个URL我正在搜索场地

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

它给了我附近的场所,但我需要在世界范围内获得整体场地...因此,当我不放置ll时,它会引发错误must provide ll

如何搜索所有场所?

任何帮助都将被应用

推荐答案

您可以使用intent=global param.

例如

https://api.foursquare.com/v2/venues/search?intent=global&query = a&query = a&limit = 25&v=20170721&m=foursquare&m=foursquare&client_id = client = clientInt = ClientInt = client_secret_secret=clentcret=clientsecret=cleent = clorlow ="rore ="="="hertplolly ="=""/PI.foursquare.com/v2/venues/search?intent=global&query=A&limit=25&v = 20170721&m = foursquare&client_id = client_id = client_secreent_secret = client = clientsecret=clientsecret

本文地址:https://www.itbaoku.cn/post/2090875.html

问题描述

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

推荐答案

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