mailbox-org-api 1.3.2__tar.gz → 2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/PKG-INFO +8 -4
  2. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/README.md +7 -3
  3. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api/APIClient.py +271 -189
  4. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api/Account.py +38 -20
  5. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api/Invoice.py +27 -0
  6. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api.egg-info/PKG-INFO +8 -4
  7. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/pyproject.toml +7 -1
  8. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/setup.py +1 -1
  9. mailbox_org_api-2.0/tests/TestAPIClient.py +477 -0
  10. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/tests/TestAccount.py +42 -48
  11. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/tests/TestInvoice.py +13 -14
  12. mailbox_org_api-1.3.2/tests/TestAPIClient.py +0 -21
  13. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/LICENSE +0 -0
  14. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api/APIError.py +0 -0
  15. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api/Mail.py +0 -0
  16. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api/__init__.py +0 -0
  17. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api.egg-info/SOURCES.txt +0 -0
  18. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api.egg-info/dependency_links.txt +0 -0
  19. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/mailbox_org_api.egg-info/top_level.txt +0 -0
  20. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/setup.cfg +0 -0
  21. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/tests/TestMail.py +0 -0
  22. {mailbox_org_api-1.3.2 → mailbox_org_api-2.0}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mailbox-org-api
3
- Version: 1.3.2
3
+ Version: 2.0
4
4
  Summary: A library to access the mailbox.org Business API.
5
5
  Author: Hendrik Schlange
6
6
  Author-email: Hendrik Schlange <mail@heshsum.de>
@@ -15,11 +15,15 @@ License-File: LICENSE
15
15
  Dynamic: author
16
16
  Dynamic: license-file
17
17
 
18
+ [![Python Test](https://github.com/heshsum/mailbox-org-api/actions/workflows/python-test.yml/badge.svg?branch=main)](https://github.com/heshsum/mailbox-org-api/actions/workflows/python-test.yml)
19
+
18
20
  # mailbox-org-api
19
- A library to access the mailbox.org Business API.
21
+ A library to access the [mailbox Business API](https://api.mailbox.org).
20
22
 
21
23
  ## Motivation and purpose
22
- The goal is to provide a comprehensive library that can easily be used to integrate the business features at mailbox.org.
24
+ The goal is to provide a comprehensive, easy to use library to integrate the business features of mailbox.
25
+ Primarily, the library should mirror all calls and features of the mailbox API.
26
+ As a secondary goal, the library should implement helper functions for common tasks.
23
27
 
24
28
  ## Installation
25
29
  ### Using pip:
@@ -57,7 +61,7 @@ api.auth(username, password)
57
61
  api.hello_innerworld()
58
62
 
59
63
  # Changing account settings
60
- api.account_set('foo', {'payment_type':'invoice'})
64
+ api.account_set('foo', payment_type='invoice')
61
65
 
62
66
  # Creating an inbox
63
67
  api.mail_add('foo@bar.com', 's3cr3tp4ssw0rd', 'standard', 'First Name', 'Last Name')
@@ -1,8 +1,12 @@
1
+ [![Python Test](https://github.com/heshsum/mailbox-org-api/actions/workflows/python-test.yml/badge.svg?branch=main)](https://github.com/heshsum/mailbox-org-api/actions/workflows/python-test.yml)
2
+
1
3
  # mailbox-org-api
2
- A library to access the mailbox.org Business API.
4
+ A library to access the [mailbox Business API](https://api.mailbox.org).
3
5
 
4
6
  ## Motivation and purpose
5
- The goal is to provide a comprehensive library that can easily be used to integrate the business features at mailbox.org.
7
+ The goal is to provide a comprehensive, easy to use library to integrate the business features of mailbox.
8
+ Primarily, the library should mirror all calls and features of the mailbox API.
9
+ As a secondary goal, the library should implement helper functions for common tasks.
6
10
 
7
11
  ## Installation
8
12
  ### Using pip:
@@ -40,7 +44,7 @@ api.auth(username, password)
40
44
  api.hello_innerworld()
41
45
 
42
46
  # Changing account settings
43
- api.account_set('foo', {'payment_type':'invoice'})
47
+ api.account_set('foo', payment_type='invoice')
44
48
 
45
49
  # Creating an inbox
46
50
  api.mail_add('foo@bar.com', 's3cr3tp4ssw0rd', 'standard', 'First Name', 'Last Name')