Metadata-Version: 2.4
Name: fetchfox-sdk
Version: 1.0.1
Summary: Python SDK for the FetchFox API
Author-email: FetchFox <dev@fetchfoxai.com>
License: MIT
Project-URL: Homepage, https://fetchfox.ai
Project-URL: Source, https://github.com/fetchfox/fetchfox-sdk-python
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.27.0
Requires-Dist: pytest-asyncio>=1.1.0
Provides-Extra: dev
Requires-Dist: pytest>=8.3.4; extra == "dev"

# FetchFox SDK
Python library for the Fetchfox API.

FetchFox uses AI to power flexible scraping workflows.

NOTE: This interface is currently subject to change as we respond to early feedback.

## Installation

### Via PyPI

`pip install fetchfox-sdk`

## Quick Start

Sync:

```python
from fetchfox_sdk import FetchFox
fox = FetchFox(api_key="ff_your_api_key")
data = fox.crawl({
    "pattern": "https://pokemondb.net/pokedex/*",
    "max_visits": 5,
})
```

Async:

```python
from fetchfox_sdk import AsyncFetchFox
fox = AsyncFetchFox(api_key="ff_your_api_key")
data = await fox.crawl({
    "pattern": "https://pokemondb.net/pokedex/*",
    "max_visits": 5,
})
```
