langchain/docs/extras/ecosystem/integrations/weather.mdx

22 lines
400 B
Plaintext
Raw Normal View History

# 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/modules/data_connection/document_loaders/integrations/weather.html).
```python
from langchain.document_loaders import WeatherDataLoader
```