mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
22 lines
371 B
Plaintext
22 lines
371 B
Plaintext
# Weather
|
|
|
|
>[OpenWeatherMap](https://openweathermap.org/) is an open source weather service provider.
|
|
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
```bash
|
|
pip install pyowm
|
|
```
|
|
|
|
We must set up the `OpenWeatherMap API token`.
|
|
|
|
## Document Loader
|
|
|
|
See a [usage example](/docs/integrations/document_loaders/weather).
|
|
|
|
```python
|
|
from langchain.document_loaders import WeatherDataLoader
|
|
```
|