Ejemplo hecho con los datos obtenidos / Example made with the data obtained
- Script made by: Lostdou
- Script hecho por: Lostdou
- Program that allows you to obtain information about the song you are currently listening to. Like the title, the artist, the cover, total duration and what minute and second it is in.
- Programa que permite conseguir información de la cancion que estas escuchando en el momento. Como el titulo, el artista, la portada, duración total y en que minuto y segundo está.
- Get your
Spotify For Developers
tokens and save them in the .env. - Once that is done, run the program and log in to Spotify. From that moment on you can request what you are listening to using a
GET
method.
- Consigue tus tokens de
Spotify For Developers
y guardarlos en el .env. - Una vez hecho eso, ejecuta el programa e inicia sesion en spotify. A partir de ese momento podras requestar mediante un metodo
GET
lo que estes escuchando.
In order to start this script, follow the steps below:
1- Clone the repository:
git clone https://github.com/Lostdou/Spotify-Widget.git
2- Install dependencies:
pip3 install python-dotenv
pip3 install flask flask_cors spotipy
3- Create a ".env" file in the same folder where you cloned the script and enter your app's tokens there
4- Now simply run the script and that's it
python -m main.py
Para poder iniciar este script, sigue los pasos a continuación:
1- Clona el repositorio:
git clone https://github.com/Lostdou/Spotify-Widget.git
2- Instala dependencias:
pip3 install python-dotenv
pip3 install flask flask_cors spotipy
3- Crea un archivo ".env" en la misma carpeta donde clonaste el script e ingresa ahi los tokens de tu app
4- Ahora simplemente ejecuta el script y ya está
python -m main.py
- os
- flask
- dotenv
- spotipy
- sys
- time
- threading
You can send me your questions about the script, how to make it work, etc. to my Discord: lostdou
Puedes enviarme tus preguntas sobre el script, cómo hacerlo funcionar, etc. a mi Discord: lostdou