Skip to content

Commit cd2c8ce

Browse files
authored
Add weather variable for chatbot (#13)
1 parent 7273183 commit cd2c8ce

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/chatbot/variables/weather.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
id: weather
3+
tags:
4+
- chatbot
5+
- variable
6+
---
7+
8+
# $(weather)
9+
10+
Displays the current weather conditions for a given location.
11+
12+
#### Parameters
13+
14+
- `location`: The location to get the weather for. (i.e. New York, NY)
15+
16+
#### Example Input
17+
18+
`$(weather "New York, NY")`
19+
20+
#### Example Output
21+
22+
```
23+
New York, United States of America: 🌜 13.9 °C (57.0 °F). Feels like 12.6 °C (54.8 °F). Overcast. Wind is blowing from the Northeast at 3.6 km/h (2.2 mp/h). 81% humidity. Visibility: 16 km (9 miles). Air pressure: 1026 hPa.
24+
```

0 commit comments

Comments
 (0)