如何使用Foursquare的搜索API来寻找场地,在全国不只是我区 [英] how to use foursquare search api to look for venues in the whole country not just my area

查看:186
本文介绍了如何使用Foursquare的搜索API来寻找场地,在全国不只是我区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Foursquare的搜索API, https://developer.foursquare.com/docs/venues/搜索

Using the foursquare search api , https://developer.foursquare.com/docs/venues/search

我需要搜索场地全世界而不必指定的国家,[所以用户不必进入另一个字段]

I need to search for a venue worldwide without having to specify a country, [so a user does not have to enter another field]

这是可以做到与Foursquare的,或你能不能提出任何其他服务做到这一点?

Is this possible to do with foursquare, or could you suggest any other services to do this?

推荐答案

复制:<一href=\"http://stackoverflow.com/questions/30885322/searching-query-in-whole-of-world-by-foursquare-venue-api/31552580\">searching查询在全世界由四方场地API

使用意图=全局参数。

恩)
<一个href=\"https://api.foursquare.com/v2/venues/search?intent=global&query=apple+store&oauth_token=(YOUR_TOKEN)&v=20150721\" rel=\"nofollow\">https://api.foursquare.com/v2/venues/search?intent=global&query=apple+store&oauth_token=(YOUR_TOKEN)&v=20150721

如果您使用的全局参数,比其他所有其它参数查询限制被忽略。

If you use global parameter, all other parameters other than query and limit are ignored.

这篇关于如何使用Foursquare的搜索API来寻找场地,在全国不只是我区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆