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


⚙️ 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

  1. Get Email Content
emails = client.get_email_content("test@cybertemp.xyz")
  1. Get Email by ID
email = client.get_email_content_by_id("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=10
)
  1. Extract URL from Email
url = client.extract_url_from_message(
    email="test@cybertemp.xyz",
    subject_contains="Verification",
    url_pattern=r'https://[^\s<>"]+'
)
  1. 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


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.3.tar.gz (4.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.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for cybertemp-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ca0881189852b18615a06ba32701b718282b0d015d64f2881b49b77d603c3b39
MD5 2313b8e02b19c0d0e58e500b40cfa8c5
BLAKE2b-256 fd50b74466d3febbff96d4bed1685808d64232fd61c19a8ba763d6634795c692

See more details on using hashes here.

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

Hashes for cybertemp-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 72a902c60809ec3d08e2defab06703dace10efd8ce97c78cab4d0c7d37c834d7
MD5 ba11f8d28a1c2663fcb42c1b0f945552
BLAKE2b-256 943769d3e63a1018119345cfdae21e5e9774ae10644c04834dfc76ec8152256f

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