Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lostdou authored Dec 13, 2024
1 parent e76aa65 commit f5eee76
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Spotify Widget 🎶

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

![image](https://github.com/user-attachments/assets/a4706ca1-fd7b-4444-bf80-8a25a8666cb2)




- 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](https://github.com/user-attachments/assets/7e53be03-c560-46b1-a217-85af5b82b13d)

## ⚙️ Installation/Instalación
### EN:
In order to start this bot, follow the steps below:

1- Clone the repository:
```bash
git clone https://github.com/Lostdou/Spotify-Widget.git
```

2- Install dependencies:
```bash
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 enter your bot to your server, run the script and that's it
```bash
python -m main.py
```

### ES:
Para poder iniciar este bot, sigue los pasos a continuación:

1- Clona el repositorio:
```bash
git clone https://github.com/Lostdou/Spotify-Widget.git
```

2- Instala dependencias:
```bash
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 ingresa tu bot a tu server, ejecuta el script y ya está
```bash
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

0 comments on commit f5eee76

Please sign in to comment.