-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
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
Write .env
file as part of oauth script
#386
Comments
Hi @browniebroke! I'd love to take a look at this and help out. |
Go ahead! |
Fantastic! I'll have a crack at it, then 😊 |
I've had a go at it @browniebroke , does this look like the right way of doing it? I wasn't quite sure which .env file it was writing to https://github.com/Carababusha/deezer-python/blob/%23386-tokeninenv/oauth.py |
Yes, that's a great start! Could you please open a pull request? There are a few minor things I would like to suggest, but it's nearly there 😄 Thanks again for taking the time to do that! |
Great! Just created the PR 😊 |
The recently added
oauth.py
script takes you through the OAuth flow to obtain an access token that can be used for development.At the end, the token needs to be copied manually from the browser window to the
.env
file, but actually, the script could do it out of the box.The contributing guide will need to be updated accordingly.
The text was updated successfully, but these errors were encountered: