Skip to content

Latest commit

 

History

History
91 lines (66 loc) · 2.49 KB

README.md

File metadata and controls

91 lines (66 loc) · 2.49 KB

Spotify Widget 🎶

Ejemplo hecho con los datos obtenidos / Example made with the data obtained

image

  • Script made by: Lostdou
  • Script hecho por: Lostdou

📚 Description/Descripción

EN:

  • 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.

ES:

  • 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á.

📋 Features/Caracteristicas

EN:

  • 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.

ES:

  • 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.

image

⚙️ Installation/Instalación

EN:

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

ES:

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

🤖 Used Libraries/Librerias usadas

  • os
  • flask
  • dotenv
  • spotipy
  • sys
  • time
  • threading

❓ Doubts/Dudas

EN:

You can send me your questions about the script, how to make it work, etc. to my Discord: lostdou

ES:

Puedes enviarme tus preguntas sobre el script, cómo hacerlo funcionar, etc. a mi Discord: lostdou