| MediaSearch Method (Double, Double, NullableInt32) |
Search for media in a given area.
Requires Authentication: False
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<MediasResponse> Search(
double latitude,
double longitude,
Nullable<int> distance
)
Public Function Search (
latitude As Double,
longitude As Double,
distance As Nullable(Of Integer)
) As Task(Of MediasResponse)
public:
Task<MediasResponse^>^ Search(
double latitude,
double longitude,
Nullable<int> distance
)
member Search :
latitude : float *
longitude : float *
distance : Nullable<int> -> Task<MediasResponse>
Parameters
- latitude
- Type: SystemDouble
Latitude of the center search coordinate. If used, longitude is required. - longitude
- Type: SystemDouble
Longitude of the center search coordinate. If used, latitude is required. - distance
- Type: SystemNullableInt32
Default is 1km (distance=1000), max distance is 5km.
Return Value
Type:
TaskMediasResponse
Media Response
See Also