{"id":20425941,"url":"https://github.com/trevorhobenshield/proton-api-client","last_synced_at":"2025-04-12T19:03:46.128Z","repository":{"id":176524226,"uuid":"655837209","full_name":"trevorhobenshield/proton-api-client","owner":"trevorhobenshield","description":"Proton Mail API","archived":false,"fork":false,"pushed_at":"2023-07-10T18:10:37.000Z","size":45,"stargazers_count":14,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-14T15:19:14.207Z","etag":null,"topics":["api","automation","bot","email","protonmail","scraper"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/proton-api-client","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trevorhobenshield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-19T17:50:02.000Z","updated_at":"2024-08-25T13:43:45.000Z","dependencies_parsed_at":"2024-01-12T10:27:08.164Z","dependency_job_id":"9b8137d5-02ab-4c7e-a889-7450ebfcf2a4","html_url":"https://github.com/trevorhobenshield/proton-api-client","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"fc793598142f0ce6374276c4eb939ef282ba04da"},"previous_names":["trevorhobenshield/proton-api-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorhobenshield%2Fproton-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorhobenshield%2Fproton-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorhobenshield%2Fproton-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorhobenshield%2Fproton-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trevorhobenshield","download_url":"https://codeload.github.com/trevorhobenshield/proton-api-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224742388,"owners_count":17362232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","automation","bot","email","protonmail","scraper"],"created_at":"2024-11-15T07:14:46.778Z","updated_at":"2024-11-15T07:14:47.281Z","avatar_url":"https://github.com/trevorhobenshield.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Proton Mail API\n\n#### Examples\n\n```python\nfrom proton.client import ProtonMail\n\nusername, password = ..., ...\nproton = ProtonMail(username, password)\n\npassphrase = 'myPass'\npk = 'privatekey.test123@proton.me-6fdhskjgfd7s98gdgre87gregrjdhrgd7897g898.asc'\nproton.gpg_import(pk, passphrase=passphrase)\n\nsessions = proton.sessions()\n\nsalts = proton.salts()\n\nusers = proton.users()\n\ninbox = proton.inbox()\n\ncid = inbox['Conversations'][0]['ID']\nconversation = proton.decrypt_conversation(cid)\n\ndecrypted_inbox = proton.inbox_decrypted()\n\nuser_settings = proton.user_settings()\n\nmail_settings = proton.mail_settings()\n\ncalendar_settings = proton.calendar_settings()\n\ntimezones = proton.timezones()\n\naddresses = proton.addresses()\n\ninfo = proton.info()\n\ndirectory = proton.calendar_directory()\n\nversion = proton.version()\n\nplans = proton.plans()\n\ncalendar_directory = proton.calendar_directory()\n\nproton.revoke_all_sessions()","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrevorhobenshield%2Fproton-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrevorhobenshield%2Fproton-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrevorhobenshield%2Fproton-api-client/lists"}