Skip to content

Commit d5d7da6

Browse files
committed
various
1 parent 87cd139 commit d5d7da6

10 files changed

Lines changed: 49 additions & 37 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
@@ -394,7 +394,7 @@ This example demonstrates how to search for a cross street based on the coordina
394394
[point of interest]: /rest/api/maps/search/getsearchpoi?view=rest-maps-1.0&preserve-view=true#searchpoiresponse
395395
[Post Search Address Batch]: /rest/api/maps/search/postsearchaddressbatch
396396
[Post Search Address Reverse Batch]: /rest/api/maps/search/postsearchaddressreversebatch?view=rest-maps-1.0&preserve-view=true
397-
[bruno]: https://www.usebruno.com/
397+
[Bruno]: https://www.usebruno.com/
398398
[Reverse Address Search Results]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true#searchaddressreverseresult
399399
[Reverse Address Search]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true
400400
[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

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

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This article explains how to apply sound practices when you call data from Azure
3030
* An [Azure Maps account]
3131
* A [subscription key]
3232

33-
You can use any API development environment such as [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 [Bruno] to run the HTTP request samples shown in this article or to build REST calls.
3434

3535
## Best practices to geocode addresses
3636

@@ -984,21 +984,21 @@ The Azure Maps [Search service] provides REST APIs for forward geocoding, revers
984984
* An [Azure Maps account]
985985
* A [subscription key]
986986

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

989989
## Core Search concepts
990990

991991
### Task‑specific operations
992992

993-
Each Search capability is exposed through a dedicated API, such as Get Geocoding, Get Geocode Autocomplete, or Get Reverse Geocoding. This separation improves clarity, performance, and intent alignment.
993+
Each Search capability is exposed through a dedicated API, such as [Get Geocoding], [Get Geocode Autocomplete], or [Get Reverse Geocoding]. This separation improves clarity, performance, and intent alignment.
994994

995995
### Geographic relevance signals
996996

997997
Most Search APIs accept geographic biasing inputs such as coordinates, bounding boxes, or country/region filters. These signals strongly influence ranking and result quality.
998998

999999
### Batch processing
10001000

1001-
Batch APIs allow multiple queries in a single request for large‑scale or background workloads.
1001+
Batch APIs allow multiple queries in a single request for large‑scale workloads.
10021002

10031003
## Best practices for forward geocoding
10041004

@@ -1007,9 +1007,8 @@ Use [Get Geocoding] when converting an address or place name into geographic coo
10071007
Recommendations:
10081008

10091009
* Provide the most complete address string available.
1010-
* Use countryRegion to reduce ambiguity.
1010+
* Use `countryRegion` to reduce ambiguity.
10111011
* Limit results with top when only the best match is needed.
1012-
* Cache stable results to reduce repeated requests.
10131012

10141013
### Forward geocoding example request
10151014

@@ -1019,14 +1018,15 @@ GET https://atlas.microsoft.com/geocode
10191018
&query=1%20Microsoft%20Way%2C%20Redmond%20WA
10201019
&countryRegion=US
10211020
&top=1
1021+
&subscription-key={Your-Azure-Maps-Key}
10221022
```
10231023

10241024
## Best practices for autocomplete
10251025

10261026
Use [Get Geocode Autocomplete] for interactive user input scenarios.
10271027
Recommendations:
10281028

1029-
* Trigger requests only after several characters of input.
1029+
* Trigger autocomplete requests after three or more characters have been entered.
10301030
* Always supply either `coordinates` or `bbox`.
10311031
* Restrict results using `resultTypeGroups` or `resultTypes`.
10321032

@@ -1037,6 +1037,7 @@ GET https://atlas.microsoft.com/geocode:autocomplete
10371037
?api-version=2026-01-01
10381038
&query=1%20Micro
10391039
&coordinates=-122.129,47.639
1040+
&subscription-key={Your-Azure-Maps-Key}
10401041
```
10411042

10421043
## Best practices for reverse geocoding
@@ -1045,15 +1046,18 @@ Use [Get Reverse Geocoding] to translate coordinates into a human‑readable add
10451046

10461047
Recommendations:
10471048

1048-
* Prefer batch reverse geocoding for telemetry or asset tracking.
1049-
* Avoid repeated calls for static coordinates.
1049+
* Prefer batch reverse geocoding for telemetry, tracking, or other high‑volume workloads.
1050+
* Cache results and avoid repeated calls for coordinates that do not change.
1051+
* Validate coordinate order and precision to ensure accurate and consistent results.
1052+
* Expect approximate or partial addresses in some locations and handle these cases gracefully.
10501053

10511054
### Reverse geocoding example request
10521055

10531056
```rest
10541057
GET https://atlas.microsoft.com/reverseGeocode
10551058
?api-version=2026-01-01
10561059
&coordinates=-122.129,47.639
1060+
&subscription-key={Your-Azure-Maps-Key}
10571061
```
10581062

10591063
## Best practices for batch operations
@@ -1064,12 +1068,14 @@ When to use:
10641068

10651069
* Importing address lists
10661070
* Background enrichment jobs
1067-
* Large‑scale reverse geocoding
1071+
* Large‑scale data processing
10681072

10691073
### Get Geocoding Batch example request
10701074

10711075
```rest
1072-
POST https://atlas.microsoft.com/geocode:batch?api-version=2026-01-01&subscription-key={Your-Azure-Maps-Key}
1076+
POST https://atlas.microsoft.com/geocode:batch
1077+
?api-version=2026-01-01
1078+
&subscription-key={Your-Azure-Maps-Key}
10731079
```
10741080

10751081
Include the following in the body of the request:
@@ -1088,7 +1094,9 @@ For more information, see [Get Geocoding Batch].
10881094
### Get Reverse Geocoding Batch example request
10891095

10901096
```rest
1091-
POST https://atlas.microsoft.com/reverseGeocode:batch?api-version=2026-01-01&subscription-key={Your-Azure-Maps-Key}
1097+
POST https://atlas.microsoft.com/reverseGeocode:batch
1098+
?api-version=2026-01-01
1099+
&subscription-key={Your-Azure-Maps-Key}
10921100
```
10931101

10941102
Include the following in the body of the request:
@@ -1112,14 +1120,16 @@ Use [Get Polygon] to retrieve administrative boundary geometry.
11121120
Recommendations:
11131121

11141122
* Use only when boundary geometry is required.
1115-
* Cache responses aggressively.
1123+
* Choose a geometry resolution that matches your application's needs. Use `resolution=small` to return a more manageable polygon size, and avoid `resolution=huge` unless you explicitly require highly detailed geometry, as it can produce very large responses.
11161124

11171125
### Administrative boundaries example request
11181126

11191127
```rest
11201128
GET https://atlas.microsoft.com/polygon
11211129
?api-version=2026-01-01
11221130
&entityId=US-WA
1131+
&resolution=small
1132+
&subscription-key={Your-Azure-Maps-Key}
11231133
```
11241134

11251135
## Next steps
@@ -1128,12 +1138,12 @@ GET https://atlas.microsoft.com/polygon
11281138
> [Search service API documentation](/rest/api/maps/search)
11291139
11301140
> [!div class="nextstepaction"]
1131-
> [Search service API documentation](migrate-search-v1-api.md)
1141+
> [Migrate Azure Maps Search 1.0 APIs](migrate-search-v1-api.md)
11321142
:::zone-end
11331143

11341144
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
11351145
[Azure Maps supported languages]: supported-languages.md
1136-
[bruno]: https://www.usebruno.com/
1146+
[Bruno]: https://www.usebruno.com/
11371147
<!--------------------------------------------------------------------------------------------------->
11381148
[Geocoding coverage]: geocoding-coverage.md
11391149
[Get Search Address]: /rest/api/maps/search/getsearchaddress?view=rest-maps-1.0&preserve-view=true

0 commit comments

Comments
 (0)