Python SDK for the FetchFox API.
Project description
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
from fetchfox_sdk import FetchFoxSDK
# Initialize the client
fox = FetchFoxSDK(api_key="YOUR_API_KEY")
# or, the API key may be provided in the environment variable: FETCHFOX_API_KEY
# Extract data from a webpage
results = fox.extract(
url="https://example.com",
instruction="Extract all product prices"
)
# Find specific URLs
urls = fox.find_urls(
url="https://example.com",
instruction="Find all product detail pages"
)
Examples
Check out the examples folder for some typical usages.
https://github.com/fetchfox/fetchfox-sdk-python/tree/main/examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fetchfox_sdk-0.0.5.tar.gz.
File metadata
- Download URL: fetchfox_sdk-0.0.5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
360f0f945cc90bc1346783703a82ec776f0b68f0a621456443af7c81c0934423
|
|
| MD5 |
9490eab2b649b96dc5d5430b6c6ab29f
|
|
| BLAKE2b-256 |
63449fe0d644ed12e117e380e352289d26690616a1ff45aa0c554a1262193ab4
|
File details
Details for the file fetchfox_sdk-0.0.5-py3-none-any.whl.
File metadata
- Download URL: fetchfox_sdk-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee462d07d4a282bc3f0e4d6db2a2cd739cfe694c27e987ff4ada87e951cbd9e1
|
|
| MD5 |
19d27008de0be82c216c8c30deebb44b
|
|
| BLAKE2b-256 |
4c007736a7dd5649b623c26a556ea2b5461b7c0e66825f983e69c4a7ed5d6f68
|