Skip to main content

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


Available Methods

  1. Get Email Content
emails = client.get_email_content("test@cybertemp.xyz", max_retries=3, delay_between_retries=2.0)
  1. Get Email by ID
email = client.get_email_content_by_id("test@cybertemp.xyz", "email_id_here")
  1. Get Available Domains
domains = client.get_domains()
  1. Search Email by Subject
mail_id = client.get_mail_by_subject(
    email="test@cybertemp.xyz",
    subject_contains="Verification",
    max_attempts=5,
    delay_between_retries=1.5
)
  1. Extract URL from Email
url = client.extract_url_from_message(
    email="test@cybertemp.xyz",
    subject_contains="Verification",
    url_pattern=r'https://[^\s<>"']+',
    max_attempts=5,
    delay_between_retries=1.5
)
  1. Get Plan Info
plan = client.get_plan()
  1. Delete Email
success = client.delete_email("email_id_here")
  1. Delete Inbox
success = client.delete_inbox("test@cybertemp.xyz")
  1. List User Inboxes
inboxes = client.list_user_inboxes()
  1. Delete User Inbox
success = client.delete_user_inbox("test@cybertemp.xyz")
  1. Get Private Emails (Bearer Token)
private_emails = client.get_private_emails(bearer_token="your_bearer_token", email="test@cybertemp.xyz")

1. **Get Available Domains**

```py
domains = client.get_domains()
  1. Search Email by Subject
mail_id = client.get_mail_by_subject(
    email="test@cybertemp.xyz",
    subject_contains="Verification",
    max_attempts=5,                # Optional
    delay_between_retries=1.5       # Optional
)
  1. Extract URL from Email
url = client.extract_url_from_message(
    email="test@cybertemp.xyz",
    subject_contains="Verification",
    url_pattern=r"""https://[^\s<>"']+""",
    max_attempts=5,                # Optional
    delay_between_retries=1.5       # Optional
)
  1. Check API Balance
balance = client.get_balance()

💳 Pricing & Plans

CyberTemp offers several subscription plans:

  • Free Tier: No API key required, 2-second delay, 10 req/sec
  • Eco Plan: €1.99/month, no delay, 20 req/sec
  • Core Plan: €2.99/month, no delay, 50 req/sec
  • Elite Plan: €4.99/month, no delay, unlimited requests

All paid plans require an API key. See CyberTemp Pricing for details and to purchase a key.

⚠️ Rate Limits

  • All requests require an API key (except Free tier)
  • Free tier: 2-second delay between requests, 10 req/sec
  • Paid tiers: No delay, higher rate limits

📜 ChangeLog

v1.0.1 ⋮ 2025-03-05
+ Added configurable retry and delay options for email checking functions
+ Indicated optional parameters in documentation

v1.0.0 ⋮ 2025-02-14
! Initial release

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

cybertemp-0.0.8.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

cybertemp-0.0.8-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file cybertemp-0.0.8.tar.gz.

File metadata

  • Download URL: cybertemp-0.0.8.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cybertemp-0.0.8.tar.gz
Algorithm Hash digest
SHA256 d9a4930f5e8ae55271f8c5fa748af308a371b3689d8834c25d18fb49fa281e4f
MD5 68ced18a6446e7a5caff6804188949ca
BLAKE2b-256 a3213b6090bdf5e5d859a0ff0d07494699c86e9924b4a1e7de9eaa78a610351d

See more details on using hashes here.

File details

Details for the file cybertemp-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: cybertemp-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cybertemp-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2070129c6f51f77c878c79ff2721876e0d2c94d6f552372361a68df4392d73a6
MD5 5f2edae9b61c57588f4acf18e9d783c1
BLAKE2b-256 b0b18d94dd5bae33803801cd20b6655e4e0884f076cbf0fda52e36d9c8115c5a

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