Metadata-Version: 2.5
Name: reserp-haystack
Version: 0.1.0
Summary: Minimal Haystack component for the Reserp Google Search API
Project-URL: Homepage, https://reserp.ai/
Project-URL: Documentation, https://reserp.ai/docs
Project-URL: Repository, https://github.com/reserp-ai/reserp-haystack
Project-URL: Issues, https://github.com/reserp-ai/reserp-haystack/issues
Author: Reserp
License: MIT
License-File: LICENSE
Keywords: google-search,haystack,reserp,search-api,serp-api
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: haystack-ai<3,>=2.24.1
Description-Content-Type: text/markdown

# Reserp Haystack Integration

`ReserpWebSearch` exposes the [Reserp Google Search API](https://reserp.ai/) as a minimal Haystack component.

The component accepts the public Reserp request field—a complete Google Search URL—makes one request, and returns the public JSON under Haystack's required output key. It adds no retries, timeout policy, concurrency management, caching, queues, result conversion, or automatic pagination.

## Installation

```bash
pip install reserp-haystack
```

## Usage

```python
from haystack.utils import Secret
from haystack_integrations.components.websearch.reserp import ReserpWebSearch

search = ReserpWebSearch(api_key=Secret.from_env_var("RESERP_API_KEY"))
result = search.run(
    url="https://www.google.com/search?q=photonic+computing&gl=us&hl=en"
)
print(result["response"])
```

The surrounding pipeline owns retries, timeouts, task queues, concurrency, observability, and pagination. See the [Reserp API documentation](https://reserp.ai/docs) and [OpenAPI definition](https://reserp.ai/openapi.json).

## License

MIT

