- Spotify Client Id and Spotify Client Secret
Both are available on Spotify Developer Dashboard , after you create an app.
Make shure to add your user on USER SETTINGS
and add http://localhost
and http://localhost/callbacks
on Redirect URIs
available on EDIT SETTINGS
both configurations are inside the app page.
Set on .env file, along with your spotify username
- Cache file
The first time you run the code, you will be asked to go to an URL, log on spotify and paste on the terminal the redirected URL (localhost something). This will create a cache file for your user on the folder.
git clone [email protected]:camilasbraz/spotify-wrapped-generator.git
python -m venv venv
venv/Scripts/activate
pip install -r requirements.txt
set up the .env
python main.py
- Create a replt account: Here
- New python repl
- Upload the files (except .env)
- Use the Secret tab to add the .env vars
- Run the code!!!
- A webdriver tab will open on the left side of the page. Copy the url
- Create an UpTimeRobot account Here
- Click on
Add New Monitor
and set the following configs:
Monitor type: http
Name: anything you want
URL: the URL copied in step 6
Interval: 5 minutes
Timeout: 30 seconds
The remaining configurations can be set to default, just scroll down and click on Create the Monitor
- Rerun the cond on repl