We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following the docs in the README, if you specify the apikey as a keyword argument like so:
sendgrid.SendGridAPIClient(apikey=os.environ.get('SENDGRID_API_KEY'))
You will get the error:
Got an unexpected keyword argument 'apikey'
Other docs in this library show passing in api key as a regular argument, which works
sendgrid.SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
Perhaps the docs need to be updated?
The text was updated successfully, but these errors were encountered:
Looks like both api_key and apikey used to be supported but now it's only api_key as of this #769
api_key
apikey
I've updated the README.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
Following the docs in the README, if you specify the apikey as a keyword argument like so:
You will get the error:
Other docs in this library show passing in api key as a regular argument, which works
Perhaps the docs need to be updated?
The text was updated successfully, but these errors were encountered: