You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

cybertemp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cybertemp

A Python wrapper for the CyberTemp temporary email service API

0.0.3
Source
PyPI
Maintainers
1

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

Keywords

email

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts