# DataheraldAPIWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/dataherald/DataheraldAPIWrapper)

Wrapper for Dataherald.

Docs for using:

1. Go to dataherald and sign up
2. Create an API key
3. Save your API key into DATAHERALD_API_KEY env variable
4. pip install dataherald

## Signature

```python
DataheraldAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `dataherald_client`
- `db_connection_id`
- `dataherald_api_key`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/dataherald/DataheraldAPIWrapper/validate_environment)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/dataherald/DataheraldAPIWrapper/run)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/utilities/dataherald.py#L9)