A library to access the mailbox.org Business API.
Project description
mailbox-org-api
A library to access the mailbox.org Business API.
Motivation and purpose
The goal is to provide a comprehensive library that can easily be used to integrate the business features at mailbox.org.
Installation
Using pip:
pip install mailbox-org-api
Directly from source:
pip install git+https://github.com/heshsum/mailbox-org-api
Usage
Basic usage is fairly straightforward:
from mailbox_org_api import APIClient
username = 'foo'
password = 'bar'
# Initializing
api_connection = APIClient.APIClient()
# Testing with hello.world
api_connection.hello_world()
# Creating a new API session
api_connection.auth(username, password)
# Testing the session with hello.innerworld
api_connection.hello_innerworld()
# Closing the session
api_connection.deauth()
The implemented functions follow the naming scheme of the API, but with underscores instead of points (e.g. mail_add()
for of mail.add
).
Here be dragons
- I'm not a programmer. I'm not very good at this. Be aware of my incompetence.
- Implementation is not complete. Not all functions of the API have been implemented
- Type hinting is available for most functions, but not all of them.
E.g.mail_add()
accepts kwargs due to the number of available attributes. In that case type errors will be returned if wrong types are provided.
API documentation
mailbox.org provides API documentation here: https://api.mailbox.org
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
mailbox_org_api-0.2.2.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file mailbox_org_api-0.2.2.tar.gz
.
File metadata
- Download URL: mailbox_org_api-0.2.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7486011e1edb0e214b21e2fbeafc4b41bcafde0b6a1257d2228d73ee5138890d |
|
MD5 | 90a874dd6815e9694e7b9a4b0c342b49 |
|
BLAKE2b-256 | 0cdc66a40201c297b729b1952a0d1bc782b92707be5cfc25b7cf004028d94cfc |
File details
Details for the file mailbox_org_api-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: mailbox_org_api-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba1dcb417ec12b9609019943ae14e2f0a701ccc7bfd0c65ed39f407659888a5c |
|
MD5 | 48649fb2cb0592bc142109ab03b66f32 |
|
BLAKE2b-256 | aa8407b622f296268694dc08454dcb4e460769c9820b6b573251823c94a0de17 |