Skip to main content

Generated API client for Behind API

Project description

Behind API Client - Python

Auto-generated API client for Behind API.

Installation

pip install -r requirements.txt

Or install the package:

pip install -e .

Usage

from behind_api_client import BehindApiClient

# Initialize the client
api_client = BehindApiClient("https://api.behind.ai:6002", "your-access-token")

# Use the API
result = api_client.zecamp10.v10.message.send(
    email="user@example.com",
    recipient_name="John Doe",
    account_name="my_account",
    template_name="welcome",
    data={},
    time=""
)

Structure

The API client follows this structure:

  • api_client.{app}.{version}.{endpoint}.{method}(params)

For example:

  • api_client.zecamp10.v10.companies.get(...)
  • api_client.raet.v10.cv.create(...)

Note: Hyphenated app names are converted to snake_case (e.g., web-harvester becomes web_harvester).

Event Handlers

api_client.on_expired(lambda data: print("Token expired"))
api_client.on_reject(lambda data: print(f"Rejected: {data}"))
api_client.on_too_many_requests(lambda data: print(f"Rate limited: {data}"))

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

behind_api_client-1.0.668.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

behind_api_client-1.0.668-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

Details for the file behind_api_client-1.0.668.tar.gz.

File metadata

  • Download URL: behind_api_client-1.0.668.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for behind_api_client-1.0.668.tar.gz
Algorithm Hash digest
SHA256 883783e0b4afa6c7d23580fe99249b6b8d3c5cf470a266fb5ce04e182d17ec4c
MD5 8825a7e08234b8c0fe06455915cb0b9e
BLAKE2b-256 35736114431c0714b8d322383146750fd2ac0134e2a709e96ab2ff9179eedd33

See more details on using hashes here.

File details

Details for the file behind_api_client-1.0.668-py3-none-any.whl.

File metadata

File hashes

Hashes for behind_api_client-1.0.668-py3-none-any.whl
Algorithm Hash digest
SHA256 f298c995afff49ca9e16223064612abd471da5e37e74919fcf23d6a27aa4b1ea
MD5 70a170a59b79404b041eb2273bc24b81
BLAKE2b-256 debd64e6a89c6a6e88f9198a423e7a016e42ff9db63f6adf8bdf864ae49b1ad4

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