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.1.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file mailbox_org_api-0.2.1.tar.gz
.
File metadata
- Download URL: mailbox_org_api-0.2.1.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 | 50b9287f1b22330659dc88806edaf642f571786eadf0016346392c34022b4fbe |
|
MD5 | 2b6586cbce22a0e97557d2d1a546824c |
|
BLAKE2b-256 | 594f4030cd1fad16c631ef1e6c3dc6bebd25db9675767a3e849a60f1298cb4b3 |
File details
Details for the file mailbox_org_api-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: mailbox_org_api-0.2.1-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 | 0e545041bc404b353c047f5b09cd355cd28d8ee21823a8be03d329b6307614f4 |
|
MD5 | 1082a2f09f411cb36a968da72b304be2 |
|
BLAKE2b-256 | d977e6893537624a2c4df3f4a9a2043ce0235891d9e87b2bbfd882426a71de4c |