| LocationsSearch Method (String, LocationsFoursquareVersion) |
Search for a location by geographic coordinate.
Requires Authentication: False
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<LocationsResponse> Search(
string foursquareId,
LocationsFoursquareVersion foursquareVersion
)
Public Function Search (
foursquareId As String,
foursquareVersion As LocationsFoursquareVersion
) As Task(Of LocationsResponse)
public:
Task<LocationsResponse^>^ Search(
String^ foursquareId,
LocationsFoursquareVersion foursquareVersion
)
member Search :
foursquareId : string *
foursquareVersion : LocationsFoursquareVersion -> Task<LocationsResponse>
Parameters
- foursquareId
- Type: SystemString
Returns a location mapped off of a foursquare v2 api location id. If used, you are not required to use lat and lng. - foursquareVersion
- Type: InstaSharp.EndpointsLocationsFoursquareVersion
The version of the FourSquare ID you are using. Either version 1 or 2.
Return Value
Type:
TaskLocationsResponselocation response
Exceptions See Also