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.0.1.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file mailbox_org_api-0.0.1.tar.gz
.
File metadata
- Download URL: mailbox_org_api-0.0.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f462f758f69a9d24383218b16a5235b95e7b457092002206a6f49fb87206b419 |
|
MD5 | 5d7f67cc4f7435e98d967c1cc891997a |
|
BLAKE2b-256 | 321822b25b057a60d247509abddbe176819ed5218880964cdd8b87d1d2ce987e |
File details
Details for the file mailbox_org_api-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mailbox_org_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 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 | f9d977dfee4cda402e8a9ede1976e75244cb991c93e56f15efd2fd6b4cb538d9 |
|
MD5 | 02a050bd24e8bb14620ef80651940f53 |
|
BLAKE2b-256 | 397138108054833f8cdfec0e3452745f079477d9a09575b4d45042974b9d446c |