Skip to content

Commit 7840f30

Browse files
authored
Merge pull request #313222 from stevemunk/search-bp-v.next
Azure Maps Search best practices for v.2026-01-01
2 parents 185a6ae + f481287 commit 7840f30

25 files changed

Lines changed: 621 additions & 117 deletions

articles/azure-maps/how-to-request-weather-data.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ This video provides examples for making REST calls to Azure Maps Weather service
4141
>
4242
> In the URL examples in this article you will need to replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
4343
44-
This tutorial uses the [bruno] application, but you can choose a different API development environment.
44+
This tutorial uses the [Bruno] application, but you can choose a different API development environment.
4545

4646
## Request real-time weather data
4747

4848
The [Get Current Conditions API] returns detailed weather conditions such as precipitation, temperature, and wind for a given coordinate location. Also, observations from the past 6 or 24 hours for a particular location can be retrieved. The response includes details like observation date and time, description of weather conditions, weather icon, precipitation indicator flags, and temperature. RealFeel™ Temperature and ultraviolet(UV) index are also returned.
4949

5050
In this example, you use the [Get Current Conditions API] to retrieve current weather conditions at coordinates located in Seattle, WA.
5151

52-
1. Open the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
52+
1. Open the Bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
5353

5454
1. Select the **GET** HTTP method in the **URL** drop-down list, then enter the following URL:
5555

@@ -61,7 +61,7 @@ In this example, you use the [Get Current Conditions API] to retrieve current we
6161
6262
1. Select the run button.
6363
64-
:::image type="content" source="./media/weather-service/bruno-run.png" alt-text="A screenshot showing the Request real-time weather data URL with the run button highlighted in the bruno app.":::
64+
:::image type="content" source="./media/weather-service/bruno-run.png" alt-text="A screenshot showing the Request real-time weather data URL with the run button highlighted in the Bruno app.":::
6565
6666
The response body contains current weather information.
6767
@@ -245,7 +245,7 @@ In this example, you use the [Get Severe Weather Alerts API] to retrieve current
245245
> [!NOTE]
246246
> This example retrieves severe weather alerts at the time of this writing. It is likely that there are no longer any severe weather alerts at the requested location. To retrieve actual severe alert data when running this example, you'll need to retrieve data at a different coordinate location.
247247
248-
1. In the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
248+
1. In the Bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
249249
250250
1. Select the **GET** HTTP method in the **URL** drop-down list, then enter the following URL:
251251
@@ -257,7 +257,7 @@ In this example, you use the [Get Severe Weather Alerts API] to retrieve current
257257
258258
1. Select the run button.
259259
260-
:::image type="content" source="./media/weather-service/bruno-run-request-severe-weather-alerts.png" alt-text="A screenshot showing the Request severe weather alerts URL with the run button highlighted in the bruno app.":::
260+
:::image type="content" source="./media/weather-service/bruno-run-request-severe-weather-alerts.png" alt-text="A screenshot showing the Request severe weather alerts URL with the run button highlighted in the Bruno app.":::
261261
262262
If there are no severe weather alerts, the response body contains an empty `results[]` array. If there are severe weather alerts, the response body contains something like the following JSON response:
263263
@@ -307,7 +307,7 @@ The [Get Daily Forecast API] returns detailed daily weather forecast such as tem
307307
308308
In this example, you use the [Get Daily Forecast API] to retrieve the five-day weather forecast for coordinates located in Seattle, WA.
309309
310-
1. In the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
310+
1. In the Bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
311311
312312
1. Select the **GET** HTTP method in the **URL** drop-down list, then enter the following URL:
313313
@@ -319,7 +319,7 @@ In this example, you use the [Get Daily Forecast API] to retrieve the five-day w
319319
320320
1. Select the run button.
321321
322-
:::image type="content" source="./media/weather-service/bruno-run-request-daily-weather-forecast-data.png" alt-text="A screenshot showing the Request daily weather forecast data URL with the run button highlighted in the bruno app.":::
322+
:::image type="content" source="./media/weather-service/bruno-run-request-daily-weather-forecast-data.png" alt-text="A screenshot showing the Request daily weather forecast data URL with the run button highlighted in the Bruno app.":::
323323
324324
The response body contains the five-day weather forecast data. For the sake of brevity, the following JSON response shows the forecast for the first day.
325325
@@ -558,7 +558,7 @@ The [Get Hourly Forecast API] returns detailed weather forecast by the hour for
558558
559559
In this example, you use the [Get Hourly Forecast API] to retrieve the hourly weather forecast for the next 12 hours at coordinates located in Seattle, WA.
560560
561-
1. In the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
561+
1. In the Bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
562562
563563
1. Select the **GET** HTTP method in the **URL** drop-down list, then enter the following URL:
564564
@@ -570,7 +570,7 @@ In this example, you use the [Get Hourly Forecast API] to retrieve the hourly we
570570
571571
1. Select the run button.
572572
573-
:::image type="content" source="./media/weather-service/bruno-run-request-hourly-weather-forecast-data.png" alt-text="A screenshot showing the Request hourly weather forecast data URL with the run button highlighted in the bruno app.":::
573+
:::image type="content" source="./media/weather-service/bruno-run-request-hourly-weather-forecast-data.png" alt-text="A screenshot showing the Request hourly weather forecast data URL with the run button highlighted in the Bruno app.":::
574574
575575
The response body contains weather forecast data for the next 12 hours. The following example JSON response only shows the first hour:
576576
@@ -670,7 +670,7 @@ In this example, you use the [Get Hourly Forecast API] to retrieve the hourly we
670670
671671
In this example, you use the [Get Minute Forecast API] to retrieve the minute-by-minute weather forecast at coordinates located in Seattle, WA. The weather forecast is given for the next 120 minutes. Our query requests that the forecast is given at 15-minute intervals, but you can adjust the parameter to be either 1 or 5 minutes.
672672
673-
1. In the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
673+
1. In the Bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
674674
675675
1. Select the **GET** HTTP method in the **URL** drop-down list, then enter the following URL:
676676
@@ -682,7 +682,7 @@ In this example, you use the [Get Minute Forecast API] to retrieve the minute-by
682682
683683
1. Select the run button.
684684
685-
:::image type="content" source="./media/weather-service/bruno-run-request-minute-by-minute-weather-forecast-data.png" alt-text="A screenshot showing the Request minute-by-minute weather forecast data URL with the run button highlighted in the bruno app.":::
685+
:::image type="content" source="./media/weather-service/bruno-run-request-minute-by-minute-weather-forecast-data.png" alt-text="A screenshot showing the Request minute-by-minute weather forecast data URL with the run button highlighted in the Bruno app.":::
686686
687687
The response body contains weather forecast data for the next 120 minutes, in 15-minute intervals.
688688
@@ -790,7 +790,7 @@ In this example, you use the [Get Minute Forecast API] to retrieve the minute-by
790790
[Get Minute Forecast API]: /rest/api/maps/weather/getminuteforecast
791791
[Get Severe Weather Alerts API]: /rest/api/maps/weather/getsevereweatheralerts
792792
[Manage the pricing tier of your Azure Maps account]: how-to-manage-pricing-tier.md
793-
[bruno]: https://www.usebruno.com/
793+
[Bruno]: https://www.usebruno.com/
794794
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
795795
[Weather service concepts]: weather-services-concepts.md
796796
[Weather service]: /rest/api/maps/weather

articles/azure-maps/how-to-search-for-address.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ This example demonstrates how to search for a cross street based on the coordina
428428
[Azure Maps Search service]: /rest/api/maps/search?view=rest-maps-1.0&preserve-view=true
429429
[Best practices for Azure Maps Search service]: how-to-use-best-practices-for-search.md
430430
[Best Practices for Search]: how-to-use-best-practices-for-search.md#geobiased-search-results
431-
[bruno]: https://www.usebruno.com/
432431
[Entity Types]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true#entitytype
433432
[Fuzzy Search URI Parameters]: /rest/api/maps/search/getsearchfuzzy?view=rest-maps-1.0&preserve-view=true#uri-parameters
434433
[Fuzzy Search]: /rest/api/maps/search/getsearchfuzzy?view=rest-maps-1.0&preserve-view=true
@@ -444,6 +443,7 @@ This example demonstrates how to search for a cross street based on the coordina
444443
[point of interest]: /rest/api/maps/search/getsearchpoi?view=rest-maps-1.0&preserve-view=true#searchpoiresponse
445444
[Post Search Address Batch]: /rest/api/maps/search/postsearchaddressbatch
446445
[Post Search Address Reverse Batch]: /rest/api/maps/search/postsearchaddressreversebatch?view=rest-maps-1.0&preserve-view=true
446+
[Bruno]: https://www.usebruno.com/
447447
[Reverse Address Search Results]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true#searchaddressreverseresult
448448
[Reverse Address Search]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true
449449
[Reverse Search Parameters]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true#uri-parameters

articles/azure-maps/how-to-secure-daemon-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ To acquire the access token:
202202

203203
:::image type="content" border="true" source="./media/how-to-manage-authentication/get-token-params.png" alt-text="Copy token parameters.":::
204204

205-
This article uses the [bruno](https://www.usebruno.com/) application to create the token request, but you can use a different API development environment.
205+
This article uses the [Bruno](https://www.usebruno.com/) application to create the token request, but you can use a different API development environment.
206206

207-
1. Open the bruno app, select **NEW REQUEST** to create the request.
207+
1. Open the Bruno app, select **NEW REQUEST** to create the request.
208208

209209
1. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request, such as *POST Token Request*.
210210

articles/azure-maps/how-to-secure-sas-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ az rest --method GET --url 'https://us.atlas.microsoft.com/search/address/json?a
412412

413413
## Real-world example
414414

415-
You can run requests to Azure Maps APIs from most clients, like C#, Java, or JavaScript. API development platforms like [bruno](https://www.usebruno.com) or [Postman](https://learning.postman.com/docs/sending-requests/generate-code-snippets) can convert an API request into a basic client code snippet in almost any programming language or framework you choose. You can use the generated code snippets in your front-end applications.
415+
You can run requests to Azure Maps APIs from most clients, like C#, Java, or JavaScript. API development platforms like [Bruno](https://www.usebruno.com) or [Postman](https://learning.postman.com/docs/sending-requests/generate-code-snippets) can convert an API request into a basic client code snippet in almost any programming language or framework you choose. You can use the generated code snippets in your front-end applications.
416416

417417
The following small JavaScript code example shows how you could use your SAS token with the JavaScript [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#supplying_request_options) to get and return Azure Maps information. The example uses [Get Search Address](/rest/api/maps/search/get-search-address) API version 1.0. Supply your own value for `<your SAS token>`.
418418

articles/azure-maps/how-to-use-best-practices-for-routing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Route Directions and Route Matrix APIs in Azure Maps [Route service] can be
3030

3131
For more information about the coverage of the Route service, see [Routing Coverage].
3232

33-
You can use any API development environment such as [Postman] or [bruno] to run the HTTP request samples shown in this article or to build REST calls.
33+
You can use any API development environment such as [Postman] or [Bruno] to run the HTTP request samples shown in this article or to build REST calls.
3434

3535
## Choose between Route Directions and Matrix Routing
3636

@@ -289,7 +289,7 @@ To learn more, please see:
289289
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
290290
[Azure Maps npm Package]: https://www.npmjs.com/package/azure-maps-rest
291291
[Azure Maps Route service]: /rest/api/maps/route
292-
[bruno]: https://www.usebruno.com/
292+
[Bruno]: https://www.usebruno.com/
293293
[How to use the Service module]: how-to-use-services-module.md
294294
[Point of Interest]: /rest/api/maps/search/getsearchpoi?view=rest-maps-1.0&preserve-view=true
295295
[Post Route Directions API documentation]: /rest/api/maps/route/postroutedirections#supportingpoints

0 commit comments

Comments
 (0)