Click or drag to resize
LocationsSearch Method (String, LocationsFoursquareVersion)
Search for a location by geographic coordinate.

Requires Authentication: False

Namespace: InstaSharp.Endpoints
Assembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public Task<LocationsResponse> Search(
	string foursquareId,
	LocationsFoursquareVersion foursquareVersion
)

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: TaskLocationsResponse
location response
Exceptions
ExceptionCondition
ArgumentExceptionfoursquareId empty;foursquareId
See Also