diff --git a/docs/api.mdx b/docs/api.mdx index 3293b6ea4..d91ab3a2c 100644 --- a/docs/api.mdx +++ b/docs/api.mdx @@ -823,6 +823,7 @@ Searches for places near a location, sorted by distance. - **`chainMetadata[key]`** (optional): Optional [chain metadata](/places#metadata) filters. Values may be of type string, boolean, or number. Type will be automatically inferred. For example, to match on `offers == true`, use `&chainMetadata[offers]=true`. - **`near`** (string, required): A location for the search. A string in the format `latitude,longitude`. - **`radius`** (number, optional): The radius to search, in meters. A number between 1 and 10000. Defaults to 1000. +- **`country`** (string, optional): [Country](/regions/countries) filters. A string, comma-separated. If not provided, no country filtering is applied. - **`limit`** (number, optional): The max number of places to return. A number between 1 and 100. Defaults to 10. ###### Authentication level diff --git a/docs/sdk/android.mdx b/docs/sdk/android.mdx index cec84e087..0e56456f2 100644 --- a/docs/sdk/android.mdx +++ b/docs/sdk/android.mdx @@ -1393,6 +1393,7 @@ With the [places search API](/api#search-places), search for places near a locat {"starbucks"}, // chains null, // categories null, //groups + null, // countryCode 10, // limit new RadarSearchPlacesCallback() { @Override @@ -1413,6 +1414,7 @@ With the [places search API](/api#search-places), search for places near a locat arrayOf("starbucks"), // chains null, // categories null, // groups + null, // countryCode 10 // limit ) { status, location, places -> // do something with places diff --git a/docs/sdk/ios.mdx b/docs/sdk/ios.mdx index 524e44e91..8a4fd9e1e 100644 --- a/docs/sdk/ios.mdx +++ b/docs/sdk/ios.mdx @@ -1556,6 +1556,7 @@ Radar.searchPlaces( chains: ["starbucks"], categories: nil, groups: nil, + countryCode: nil limit: 10 ) { (status: RadarStatus, location: CLLocation?, places: [RadarPlace]?) in // do something with places @@ -1571,6 +1572,7 @@ Radar.searchPlaces( chains:@[@"starbucks"] categories:nil groups:nil + countryCode:nil limit:100 completionHandler:^(RadarStatus status, CLLocation *location, NSArray *places) { // do something with places