Metadata-Version: 2.1
Name: proton-api-client
Version: 0.0.2
Summary: Proton Mail API
Home-page: https://github.com/trevorhobenshield/proton-api-client
Author: Trevor Hobenshield
Author-email: trevorhobenshield@gmail.com
Keywords: proton api client async search automation bot scrape mail email
Requires-Python: >=3.10.10
Description-Content-Type: text/markdown
License-File: LICENSE



### Proton Mail API

#### Examples

```python
from proton.client import ProtonMail

username, password = ..., ...
gpg_passphrase = ...
proton = ProtonMail(username, password, gpg_passphrase=gpg_passphrase)

# pk = 'privatekey.hotmale@proton.me-6fdhskjgfd7s98gdgre87gregrjdhrgd7897g898.asc'
# proton.gpg_import(pk)

salts = proton.salts()

users = proton.users()

inbox = proton.inbox()

conversation_id = inbox['Conversations'][0]['ID']
conversation = proton.decrypt_conversation(conversation_id)

decrypted_inbox = proton.inbox_decrypted()

user_settings = proton.user_settings()

mail_settings = proton.mail_settings()

calendar_settings = proton.calendar_settings()

timezones = proton.timezones()

addresses = proton.addresses()

info = proton.info()
```

