A Python wrapper for the CyberTemp email API.
Project description
CyberTemp API Wrapper
A lightweight Python wrapper for the cybertemp.xyz API.
Features
- Get available email domains
- Check public inboxes
- Access specific emails by ID
- Check account balance (requires API key)
- Access private inbox (requires API key)
- Delete specific emails or full inboxes (requires API key)
Installation
- Python 3.10 or higher
pip install -r requirements.txt
Usage
from cybertemp import CyberTemp
client = CyberTemp(api_key="your_api_key") # Optional if only using public endpoints
# Get available domains
domains = client.get_domains()
# Check a public inbox
inbox = client.check_mail("example@domain.com")
# Get an email by ID
email = client.check_mail_by_id("email_id")
# Check your balance (requires API key)
balance = client.check_balance()
# Access private mails (requires API key with Bearer auth)
private_emails = client.get_private_mails()
# Delete an email (requires API key with Bearer auth)
client.delete_mail("email_id")
# Delete entire inbox (requires API key with Bearer auth)
client.delete_inbox("example@domain.com")
Note
- Some endpoints require an API key.
- Auth headers are handled automatically depending on the endpoint.
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 cybertemp_wrapper_py-1.0.0.tar.gz.
File metadata
- Download URL: cybertemp_wrapper_py-1.0.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bdfbe9da4c01b252890e7dac323cb987647dd5a2a56b26ecce53f6ab5c26ce7
|
|
| MD5 |
109295e2712e5d2f23302bb714c1043a
|
|
| BLAKE2b-256 |
6e05590c55b1dcdadb6409c57a853c4ad04aafb858ff3460fa247e618299e599
|
File details
Details for the file cybertemp_wrapper_py-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cybertemp_wrapper_py-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecf8d8f292bcfa13b6ad9a1aec6299c15d5e4d0e54dc81ad8aad4a9251159121
|
|
| MD5 |
540f182df8f80f7c1936e6e0af3eaba4
|
|
| BLAKE2b-256 |
46beb88f2afa79107b10275a2e3e300a50c316e31910634cf83a6eea60298ae2
|