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
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
behind_api_client-1.0.668.tar.gz
(20.6 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883783e0b4afa6c7d23580fe99249b6b8d3c5cf470a266fb5ce04e182d17ec4c
|
|
| MD5 |
8825a7e08234b8c0fe06455915cb0b9e
|
|
| BLAKE2b-256 |
35736114431c0714b8d322383146750fd2ac0134e2a709e96ab2ff9179eedd33
|
File details
Details for the file behind_api_client-1.0.668-py3-none-any.whl.
File metadata
- Download URL: behind_api_client-1.0.668-py3-none-any.whl
- Upload date:
- Size: 57.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f298c995afff49ca9e16223064612abd471da5e37e74919fcf23d6a27aa4b1ea
|
|
| MD5 |
70a170a59b79404b041eb2273bc24b81
|
|
| BLAKE2b-256 |
debd64e6a89c6a6e88f9198a423e7a016e42ff9db63f6adf8bdf864ae49b1ad4
|