This Python script uses the Spotify API to retrieve the user's top 100 most listened to songs and top 100 most listened artists.
The user needs to provide their Spotify credentials and register a new application on the Spotify Developer Dashboard to obtain a Client ID and Client Secret. The script then uses the credentials to authenticate with the Spotify API and retrieve the user's top tracks data
This is a Python script that reads a text file with song names line by line and adds them to a Spotify playlist. When a new song is added to the text file, it can be automatically added to the playlist using a GitHub action.
- Python 3.6 or higher
- spotipy library
- Spotify account
- Spotify developer account (to get the client ID and secret)
--
Este script em Python utiliza a API do Spotify para recuperar as 100 músicas mais ouvidas e os 100 artistas mais ouvidos pelo usuário.
O usuário precisa fornecer suas credenciais do Spotify e registrar um novo aplicativo no Painel do Desenvolvedor do Spotify para obter um ID de Cliente e um Segredo de Cliente. Em seguida, o script utiliza essas credenciais para autenticar com a API do Spotify e recuperar os dados das principais faixas do usuário.
Este é um script em Python que lê um arquivo de texto com os nomes das músicas linha por linha e as adiciona a uma playlist do Spotify. Quando uma nova música é adicionada ao arquivo de texto, ela pode ser automaticamente adicionada à playlist usando uma ação do GitHub.
- Python 3.6 ou superior
- biblioteca spotipy
- Conta no Spotify
- Conta de desenvolvedor no Spotify (para obter o ID e o segredo do cliente)