Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Api foursquare:Victories/search?intent=browse在逐个指定categoryId时返回的位置比不指定categoryId时返回的位置多_Api_Search_Foursquare - Fatal编程技术网

Api foursquare:Victories/search?intent=browse在逐个指定categoryId时返回的位置比不指定categoryId时返回的位置多

Api foursquare:Victories/search?intent=browse在逐个指定categoryId时返回的位置比不指定categoryId时返回的位置多,api,search,foursquare,Api,Search,Foursquare,我使用Foursquare的场地/搜索端点来获取给定半径内某个点周围的所有位置 例如,如果我查询而不指定任何类别ID: 我有11个位置。如果我另外指定一个类别ID(食品): 我有23个位置,都在规定的半径范围内。你怎么能得到比任何种类的地方都多的食物呢 我做了更多的常规检查,这似乎是API的常规行为 这是预期的行为吗?有没有什么方法可以在不必逐项查询的情况下获得一份详尽的地点列表

我使用Foursquare的场地/搜索端点来获取给定半径内某个点周围的所有位置

例如,如果我查询而不指定任何类别ID

我有11个位置。如果我另外指定一个类别ID(食品):

我有23个位置,都在规定的半径范围内。你怎么能得到比任何种类的地方都多的食物呢

我做了更多的常规检查,这似乎是API的常规行为

这是预期的行为吗?有没有什么方法可以在不必逐项查询的情况下获得一份详尽的地点列表