Skip to main content

BeeVision SEO API Client Library

Project description

BeeVisionSEO Python Client

A lightweight Python client for interacting with the BeeVisionSEO API.

Installation

pip install beevisionseo

Features

  • Insert multiple URLs for processing
  • Index a single URL
  • Automatic URL validation
  • Error handling
  • Rate limit handling

Quick Start

from beevisionseo import BeeVisionSEOClient

# Initialize the client
client = BeeVisionSEOClient(api_key="your_api_key_here")

# Insert multiple URLs
result = client.insert_urls([
    "https://example.com/page1",
    "https://example.com/page2"
])
print(result)

# Index a single URL
index_result = client.index_url("https://example.com/page1")
print(index_result)

Functional Approach

If you prefer a functional approach:

from beevisionseo import insert_urls, index_url

# Insert multiple URLs
result = insert_urls(
    api_key="your_api_key_here",
    urls=["https://example.com/page1", "https://example.com/page2"]
)

# Index a single URL
index_result = index_url(
    api_key="your_api_key_here",
    url="https://example.com/page1"
)

Error Handling

The library handles errors gracefully:

try:
    result = client.insert_urls(["https://example.com/page1"])
except ValueError as e:
    print(f"Validation error: {str(e)}")
except Exception as e:
    print(f"API error: {str(e)}")

Rate Limiting

The API has a rate limit of 10 requests per minute. The client will raise an exception if the rate limit is exceeded.

API Reference

BeeVisionSEOClient

Parameters:

Methods:

  • insert_urls(urls): Insert URLs for processing
  • index_url(url): Index a single URL

Functional API

  • create_client(api_key, base_url): Create a new BeeVisionSEO client
  • insert_urls(api_key, urls, base_url): Insert URLs for processing
  • index_url(api_key, url, base_url): Index a single URL

License

MIT

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

beevisionseo-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

beevisionseo-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file beevisionseo-0.1.0.tar.gz.

File metadata

  • Download URL: beevisionseo-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for beevisionseo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b4cf1d76654b77356ab351b91b4b4b5bad2af43942c04d97fdb0ca82690ffc3
MD5 15cd109ab300c7c8a55a1b2bc5bb3d7e
BLAKE2b-256 6d19225cae653d9a0cb62499ede293aad2bf5006bb03152f477d63834da85e2e

See more details on using hashes here.

File details

Details for the file beevisionseo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: beevisionseo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for beevisionseo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d348cde3dcfa07e025690ff8859426eb1ab94f0c8ea6a2f2101f2d905cc20525
MD5 bda6f21c4593653c686d50230106aaf8
BLAKE2b-256 5a1351fb82e4c1c1a56b6ce83da109ed6783f1b469dc38bc33fc85b1cf4f58c5

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