Skip to content

Commit

Permalink
fiximages
Browse files Browse the repository at this point in the history
  • Loading branch information
pcazals committed Feb 23, 2024
1 parent 69c6baf commit 325ef06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Avant de commencer, assurez-vous d'avoir installé Docker sur votre machine. Vou

1. Rendez-vous sur [Dashboard Spotify](https://developer.spotify.com/dashboard/).
2. Créez une nouvelle application pour obtenir votre `SPOTIPY_CLIENT_ID` et `SPOTIPY_CLIENT_SECRET`.
![alt text](https://github.com/pcazals/ressource/createapp.png)
![alt text](https://github.com/pcazals/ressource/basicinfo.png)
![alt text](https://github.com/pcazals/traveltunes/ressource/createapp.png)
![alt text](https://github.com/pcazals/traveltunes/ressource/basicinfo.png)

3. Notez l'URI de redirection que vous avez configurée pour votre application dans le Dashboard Spotify, cela sera votre `SPOTIPY_REDIRECT_URI`.
4. Si nécessaire, obtenez un `SPOTIPY_TOKEN` en suivant la documentation ci dessous.
Expand All @@ -26,14 +26,14 @@ Avant de commencer, assurez-vous d'avoir installé Docker sur votre machine. Vou
``e, cache_path="token.txt"``

- Lancer le script app.py avec ``python3 app.py``
![alt text](https://github.com/pcazals/ressource/script1.png)
![alt text](https://github.com/pcazals/traveltunes/ressource/script1.png)
Ouvrir le lien générer en console et se connecter avec spotify et autoriser l'accès.

- Une fois la redirection efféctuée, copier le lien dans la console
![alt text](https://github.com/pcazals/ressource/script2.png)
![alt text](https://github.com/pcazals/traveltunes/ressource/script2.png)

- le fichier .cache vient d'être généré
![alt text](https://github.com/pcazals/ressource/script3.png)
![alt text](https://github.com/pcazals/traveltunes/ressource/script3.png)

- Copier sont contenu dans la varibale d'env SPOTIPY_TOKEN

Expand Down

0 comments on commit 325ef06

Please sign in to comment.