{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure AccessControlClient AccessConnector LocalSearch API", "version": "2020-08-01-preview" }, "items": [ { "info": { "name": "LocalSearch", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Azure The Local Search Api Lets You Send A Search Query To Bing And Get Back Search Results That Include Local Businesses Such As Restaurants, Hotels, Retail Stores, Or Other Local Businesses The Query Can Specify The Name Of The Local Business Or It Can Ask For A List For Example, Restaurants Near Me", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v7.0/localbusinesses/search", "headers": [ { "name": "X-BingApis-SDK", "value": "" }, { "name": "Accept", "value": "" }, { "name": "Accept-Language", "value": "" }, { "name": "Pragma", "value": "" }, { "name": "User-Agent", "value": "" }, { "name": "X-MSEdge-ClientID", "value": "" }, { "name": "X-MSEdge-ClientIP", "value": "" }, { "name": "X-Search-Location", "value": "" } ], "params": [ { "name": "cc", "value": "", "type": "query", "description": "A 2-character country code of the country where the results come from. This API supports only the United States market. If you specify this query parameter, it must be set to us. If you set this parameter, you must also specify the Accept-Language header. Bing uses the first supported language it finds from the languages list, and combine that language with the country code that you specify to determine the market to return results for. If the languages list does not include a supported language, Bing finds the closest language and market that supports the request, or it may use an aggregated or default market for the results instead of a specified one. You should use this query parameter and the Accept-Language query parameter only if you specify multiple languages; otherwise, you should use the mkt and setLang query parameters. This parameter and the mkt query parameter are mutually exclusive—do not specify both." }, { "name": "mkt", "value": "", "type": "query", "description": "The market where the results come from. You are strongly encouraged to always specify the market, if known. Specifying the market helps Bing route the request and return an appropriate and optimal response. This parameter and the cc query parameter are mutually exclusive—do not specify both." }, { "name": "q", "value": "", "type": "query", "description": "The user's search term." }, { "name": "localcategories", "value": "", "type": "query", "description": "comma-delimited list of business categories to search for. Supported categories can be high-level such as EatDrink, Shop, SeeDo." }, { "name": "localcircularview", "value": "", "type": "query", "description": "Preferred location to search around, expressed as Latitude, longitude and radius in meters. For example 47.61503,-122.1719,5000. Note that circular view should only be used to indicate a search around a point on the map, not as an approximation for a view port of a map rectangle." }, { "name": "localmapview", "value": "", "type": "query", "description": "Preferred bounding box for results, specified in NW_latitude, NW_Longitude, SE_Latitude, SE_Longitude format. For example 47.64,-122.13,47.63,-122.12. These values are lat, long pairs for the Northwest corner and the Southeast corner of a rectangle." }, { "name": "count", "value": "", "type": "query", "description": "Preferred number of results to return. If not specified, then Bing returns 1-20 of the most relevant results." }, { "name": "first", "value": "", "type": "query", "description": "First result to return. zero-based. default is 0." }, { "name": "ResponseFormat", "value": "", "type": "query", "description": "The media type to use for the response. The following are the possible case-insensitive values: JSON, JSONLD. The default is JSON. If you specify JSONLD, the response body includes JSON-LD objects that contain the search results." }, { "name": "SafeSearch", "value": "", "type": "query", "description": "A filter used to filter adult content. Off: Return webpages with adult text, images, or videos. Moderate: Return webpages with adult text, but not adult images or videos. Strict: Do not return webpages with adult text, images, or videos. The default is Moderate. If the request comes from a market that Bing's adult policy requires that safeSearch is set to Strict, Bing ignores the safeSearch value and uses Strict. If you use the site: query operator, there is the chance that the response may contain adult content regardless of what the safeSearch query parameter is set to. Use site: only if you are aware of the content on the site and your scenario supports the possibility of adult content." }, { "name": "SetLang", "value": "", "type": "query", "description": "The language to use for user interface strings. Specify the language using the ISO 639-1 2-letter language code. For example, the language code for English is EN. The default is EN (English). Although optional, you should always specify the language. Typically, you set setLang to the same language specified by mkt unless the user wants the user interface strings displayed in a different language. This parameter and the Accept-Language header are mutually exclusive; do not specify both. A user interface string is a string that's used as a label in a user interface. There are few user interface strings in the JSON response objects. Also, any links to Bing.com properties in the response objects apply the specified language." } ] }, "docs": "Needs a more full description created." } ] } ], "bundled": true }