mirror of
https://github.com/ProtonMail/go-proton-api.git
synced 2025-12-23 23:57:50 -05:00
d275edd4d686c719c9a92741b6a08afb86695d96
Both method and token are required. Also expose a `GetUserWithHV` function since it is possible to trigger HV after successful login. It's advised that all clients get the user details after login to handle this workflow.
Go Proton API
This repository holds Go Proton API, a Go library implementing a client and development server for (a subset of) the Proton REST API.
The license can be found in the LICENSE file.
For the contribution policy, see CONTRIBUTING.
Environment variables
Most of the integration tests run locally. The ones that interact with Proton servers require the following environment variables set:
GO_PROTON_API_TEST_USERNAMEGO_PROTON_API_TEST_PASSWORD
Contribution
The library is maintained by Proton AG, and is not actively looking for contributors.
Languages
Go
99.4%
Shell
0.6%