A Python wrapper for the CyberTemp temporary email service API
Project description
CyberTemp API Client
A Python client for interacting with the CyberTemp temporary email service API.
🌐 Website
·
📜 ChangeLog
·
⚠️ Report Bug
⚙️ Installation
pip install cybertemp
🚀 Quick Start
from cybertemp.cybertemp import CyberTemp
# Initialize (free tier)
client = CyberTemp()
# Or with API key (premium)
client = CyberTemp(api_key="your_api_key_here")
# Get available domains
domains = client.get_domains()
# Check mailbox
emails = client.get_email_content("test@cybertemp.xyz")
You can purchase an api key here: https://cybertemp.xyz/pricing
📚 API Reference
Initialization
client = CyberTemp(
debug=True, # Enable debug logging
api_key=None, # Optional API key for premium features
)
Available Methods
- Get Email Content
emails = client.get_email_content("test@cybertemp.xyz")
- Get Email by ID
email = client.get_email_content_by_id("email_id_here")
- Get Available Domains
domains = client.get_domains()
- Search Email by Subject
mail_id = client.get_mail_by_subject(
email="test@cybertemp.xyz",
subject_contains="Verification",
max_attempts=10
)
- Extract URL from Email
url = client.extract_url_from_message(
email="test@cybertemp.xyz",
subject_contains="Verification",
url_pattern=r'https://[^\s<>"]+'
)
- Check API Balance (Premium)
balance = client.get_balance()
💳 Premium Features
- No rate limiting
- API key support
- Credit system
- Priority support
⚠️ Rate Limits
- Free tier: 1-second delay between requests
- Premium tier: No delays, pay-per-use
📜 ChangeLog
v1.0.0 ⋮ 202-02-14
! Initial release
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-0.0.3.tar.gz.
File metadata
- Download URL: cybertemp-0.0.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca0881189852b18615a06ba32701b718282b0d015d64f2881b49b77d603c3b39
|
|
| MD5 |
2313b8e02b19c0d0e58e500b40cfa8c5
|
|
| BLAKE2b-256 |
fd50b74466d3febbff96d4bed1685808d64232fd61c19a8ba763d6634795c692
|
File details
Details for the file cybertemp-0.0.3-py3-none-any.whl.
File metadata
- Download URL: cybertemp-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a902c60809ec3d08e2defab06703dace10efd8ce97c78cab4d0c7d37c834d7
|
|
| MD5 |
ba11f8d28a1c2663fcb42c1b0f945552
|
|
| BLAKE2b-256 |
943769d3e63a1018119345cfdae21e5e9774ae10644c04834dfc76ec8152256f
|