Skip to main content

A python client for the BotMailRoom API

Project description

BotMailroom Python Client

The BotMailroom Python client allows you to interact with the BotMailroom API. It provides both synchronous and asynchronous methods for interacting with the API.

Run

Quickstart

1. Get an API Key

You can get an API key by signing up for a BotMailroom account and creating an API key at https://auth.botmailroom.com/account/api_keys

2. Install the Client

pip install botmailroom

3. Initialize the Client

from botmailroom import BotMailRoom

client = BotMailRoom(api_key="your_api_key") # or set the BOTMAILROOM_API_KEY environment variable

4. Create an Inbox

inbox = client.create_inbox(name="My Inbox", email_address="CHANGE_THIS@inbox.botmailroom.com")

5. Check Emails

Send an email to the inbox's email address and then check for new emails using the get_emails method.

emails = client.get_emails(inbox_id=inbox.id)
print(emails)

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

botmailroom-0.0.3.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

botmailroom-0.0.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file botmailroom-0.0.3.tar.gz.

File metadata

  • Download URL: botmailroom-0.0.3.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for botmailroom-0.0.3.tar.gz
Algorithm Hash digest
SHA256 45c632b24386ebd1a4ac4426e7d79f13fceab6ae02096d4a7d5bb63d95d627b0
MD5 08579fd1111ff70983e9ebdfee02d9eb
BLAKE2b-256 7ca375174d6527dff6fe7990fe4514b8dc4d768f0858181eb824e84f966813c5

See more details on using hashes here.

File details

Details for the file botmailroom-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: botmailroom-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for botmailroom-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa58f09e0eb4f76599e01c8e1a9a486ef320b433075a09aac12637fa7142bb5
MD5 e286086d40c69717a8014111c6e92c15
BLAKE2b-256 99d1f3601445f1172e8613f795d85e956148761999fc61d325d5c7bd2a69407a

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