from method import Methodmethod = Method(env='production', api_key='sk_WyZEWVfTcH7GqmPzUPk65Vjc')accounts = method.accounts.list()
API Reference
Authentication
The Method API uses API keys to authenticate requests. The API key serves as an identifier for your team.
Secret API keys for your team have the prefix sk_.Your team’s API key must be included as a Bearer token in the Authorization header of every request.