https://github.com/threeal/spotify-recommendations
Give Spotify user a recommendations through playlist
https://github.com/threeal/spotify-recommendations
playlist spotify spotify-api spotipy
Last synced: over 1 year ago
JSON representation
Give Spotify user a recommendations through playlist
- Host: GitHub
- URL: https://github.com/threeal/spotify-recommendations
- Owner: threeal
- Created: 2022-02-13T13:34:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-14T08:53:22.000Z (over 4 years ago)
- Last Synced: 2025-01-26T11:42:23.936Z (over 1 year ago)
- Topics: playlist, spotify, spotify-api, spotipy
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Recommendations
This project could give user a recommendation through a playlist.
## Setup
- Install Python [here](https://www.python.org/downloads/).
- Install dependencies:
```sh
pip install -r requirements.txt
```
- Create a new spotify app if you don't have one (see [this](https://developer.spotify.com/documentation/general/guides/authorization/app-settings/)
- Create a `.env` file with the following content:
```
SPOTIPY_CLIENT_ID=YOUR_APP_CLIENT_ID
SPOTIPY_CLIENT_SECRET=YOUR_APP_CLIENT_SECRET
```
## Usage
### Get Artist by Tracks
run `python get_artist_by_tracks.py --help` for more details
```sh
python get_artist_by_tracks.py 'track name' 'other track name' ...
```