# AskNewsAPIWrapper

> **Class** in `langchain_community`

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

Wrapper for AskNews API.

## Signature

```python
AskNewsAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `asknews_sync`
- `asknews_async`
- `asknews_client_id`
- `asknews_client_secret`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/asknews/AskNewsAPIWrapper/validate_environment)
- [`search_news()`](https://reference.langchain.com/python/langchain-community/utilities/asknews/AskNewsAPIWrapper/search_news)
- [`asearch_news()`](https://reference.langchain.com/python/langchain-community/utilities/asknews/AskNewsAPIWrapper/asearch_news)

---

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