类 fi.foyt.foursquare.api.entities.VenuesSearchResult
的使用

使用 VenuesSearchResult 的软件包
fi.foyt.foursquare.api Package containing basic API functionality 
 

fi.foyt.foursquare.apiVenuesSearchResult 的使用
 

返回变量类型为 VenuesSearchResult 的类型的 fi.foyt.foursquare.api 中的方法
 Result<VenuesSearchResult> FoursquareApi.venuesSearch(Map<String,String> params)
          Generic search which takes a map of parameters The map is converted into parameters for the search API call with key/value pairs matching https://developer.foursquare.com/docs/venues/search For example: public Response foursquareSearchNamed(@QueryParam("place") String place, @QueryParam("term") String searchTerm) { Map searchParams = new HashMap(); FoursquareApi foursquareApi = new FoursquareApi(, , ); searchParams.put("near", place); searchParams.put("query", searchTerm); searchParams.put("limit","50"); try { Result result = foursquareApi.venuesSearch(searchParams); if(result !
 Result<VenuesSearchResult> FoursquareApi.venuesSearch(String ll, Double llAcc, Double alt, Double altAcc, String query, Integer limit, String intent, String categoryId, String url, String providerId, String linkedId, Integer radius, String near)
          Returns a list of venues near the current location, optionally matching the search term.
 Result<VenuesSearchResult> FoursquareApi.venuesSearch(String near, String query, Integer limit, String intent, String categoryId, String url, String providerId, String linkedId)
          Returns a list of venues near the current location identified by place (i.e.
 



Copyright © 2013 Foyt. All Rights Reserved.