Proton Mail API
Project description
Proton Mail API
Examples
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proton-api-client-0.0.2.tar.gz
(21.7 kB
view hashes)
Built Distribution
Close
Hashes for proton_api_client-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1bdf3a1025da6f7d6829e6ee01b9127079d79725532ec9e02ebf94855400c4 |
|
MD5 | d1ce9b44499240c9b41ba968cc5a94ad |
|
BLAKE2b-256 | 81e9530abc56db50777f7590f03fb19c89645a9e769d6c2e06e2c271b0e6cab3 |