mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #61] Authorisation with Heroku #31
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @issyrichards on GitHub (Jul 18, 2015).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/61
Hi there,
I have built an app locally using spotipy (thanks for your awesome code!) and I'm trying to push it online with Heroku. I use the util.prompt_for_user_token() function to authorise the user_playlist_create function. Since the util function requires a command line raw input I can't understand how it will work when I push it online - can you a suggest a way that I can by pass this problem?
Many thanks!
Issy
@arska commented on GitHub (Dec 4, 2015):
I had the same problem in https://github.com/arska/srf2spotify#usage:
#!/bin/sh
echo $SPOTIPY_CACHE > .cache-spotifyusername
python yourapp.py
@stephanebruckert commented on GitHub (Jun 14, 2020):
Follow this example to use spotipy in an API https://github.com/plamere/spotipy/blob/master/examples/app.py