Proton Mail API
Project description
Proton Mail API
Examples
from proton.client import ProtonMail
username, password = ..., ...
proton = ProtonMail(username, password)
passphrase = 'myPass'
pk = 'privatekey.hotmale@proton.me-6fdhskjgfd7s98gdgre87gregrjdhrgd7897g898.asc'
proton.gpg_import(pk, passphrase=passphrase)
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.3.tar.gz
(21.7 kB
view hashes)
Built Distribution
Close
Hashes for proton_api_client-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d094bc3f02d2ecca59d54349e5bbe15f7927938675b7d6f9a5ee5e6537a1f8ad |
|
MD5 | 2db3ea90d621ca0bc26b665b76806301 |
|
BLAKE2b-256 | 4505eddd0a20c9c5eccbc8d74bf32d6a11178e6c63050416605a4334526a15b8 |