Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fetchfox_sdk-0.0.5.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fetchfox_sdk-0.0.5-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

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

Hashes for fetchfox_sdk-0.0.5.tar.gz
Algorithm Hash digest
SHA256 360f0f945cc90bc1346783703a82ec776f0b68f0a621456443af7c81c0934423
MD5 9490eab2b649b96dc5d5430b6c6ab29f
BLAKE2b-256 63449fe0d644ed12e117e380e352289d26690616a1ff45aa0c554a1262193ab4

See more details on using hashes here.

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

Hashes for fetchfox_sdk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee462d07d4a282bc3f0e4d6db2a2cd739cfe694c27e987ff4ada87e951cbd9e1
MD5 19d27008de0be82c216c8c30deebb44b
BLAKE2b-256 4c007736a7dd5649b623c26a556ea2b5461b7c0e66825f983e69c4a7ed5d6f68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page