You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/howto/weather-and-distance-tool/README.md
+9-12Lines changed: 9 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ Parsing JSON in Python is relatively straightforward but can become quite verbos
14
14
*[Get Google Maps API Key](#get-google-maps-api-key)
15
15
*[Basic Plugin Setup](#basic-plugin-setup)
16
16
*[Write a Plugin](#write-a-plugin)
17
-
*[Dependencies](dependencies)
18
-
*[Imports](imports)
19
-
*[Initialization](initialization)
20
-
*[Weather API Function](weather-api-function)
21
-
*[Distance Matrix API Function](distance-matrix-api-function)
22
-
*[Data Processing](data-processing)
23
-
*[Putting It All Together](putting-it-all-together)
17
+
*[Dependencies](#dependencies)
18
+
*[Imports](#imports)
19
+
*[Initialization](#initialization)
20
+
*[Weather API Function](#weather-api-function)
21
+
*[Distance Matrix API Function](#distance-matrix-api-function)
22
+
*[Data Processing](#data-processing)
23
+
*[Putting It All Together](#putting-it-all-together)
24
24
*[Packaging into a YXI](#packaging-into-a-yxi)
25
25
*[Run the Test Client](#run-the-test-client)
26
26
*[Install in Designer](#install-in-designer)
@@ -29,7 +29,7 @@ Parsing JSON in Python is relatively straightforward but can become quite verbos
29
29
*[Run in Designer](#run-in-designer)
30
30
31
31
## Get WeatherAPI Key
32
-
[WeatherAPI](weatherapi.com) offers weather data via a JSON RESTful API. While it is free, it does require an API key to make requests. Sign up to get an API key which will be used in this demo.
32
+
[WeatherAPI](https://www.weatherapi.com/) offers weather data via a JSON RESTful API. While it is free, it does require an API key to make requests. Sign up to get an API key which will be used in this demo.
33
33
34
34
## Get Google Maps API Key
35
35
The [Google Maps Distance Matrix API](https://developers.google.com/maps/documentation/distance-matrix/overview) also requires an API key, which requires a Google billing account. While it's technically not a free API, there is an automatic credit of \$200 applied each month. For non GCP users, there is a trial in which \$300 worth of API calls can be consumed, without charge. With the first 100,000 API calls running $0.005, this will be quite hard to breach.
@@ -339,7 +339,7 @@ At this point, we have all the data we need to publish the records. To do so we.
339
339
self.provider.write_to_anchor("Output", batch)
340
340
```
341
341
342
-
###7. Putting It All Together
342
+
### Putting It All Together
343
343
The final code is available [here](./WeatherDistance/backend/weather_distance.py).
344
344
345
345
## Packaging into a YXI
@@ -360,9 +360,6 @@ Now that the code is ready, we can package it into a portable YXI archive via th
360
360
[Creating YXI] finished
361
361
```
362
362
363
-
## Run the Test Client
364
-
[TODO]
365
-
366
363
## Install in Designer
367
364
In this section, we review the 2 ways to install the plugin into Designer.
* Walkthrough 1: [Download Temporary Keys](https://drop.alteryx.com/public/file/-jRU-r26SE6VAkFSvU69HA/Inspire23_Temp_Training_Material_Demo1.docx) (Note: Password protected. Access will be provided during Training)
0 commit comments