Skip to content

Rantoryu/SpotifyAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 SpotifyAPI - Data Engineering Learning Project

📝 Description

Simple project that retrieve data using SpotifyAPI and automatically stores it in sqlite database.
Used reference: https://developer.spotify.com/documentation/web-api/reference/get-recently-played
Feel free to use any other to get your own data.

Live Example: (WIP Integration with Personal Website)


🚀 Run Locally

  1. Clone the project
  git clone https://github.com/Rantoryu/SpotifyAPI.git/
  1. Install dependencies
  pip install -r requirements.txt
  1. Create Spotify App and Generate Token

Generate token using Client ID and Client Secret from your own APP (https://developer.spotify.com/dashboard)

  python.exe .\gettoken.py
  1. Retrieve last played tracks

Retrieve last played tracks from last 7 days (Limit 50 tracks) by running:

  python.exe .\spotify.py

It will create tracks.sqlite database.

  1. Simple convert of database to dataframe with printing it out (Optional)
  python.exe .\convert.py

🛠️ Tech Stack

Python, Sqlite

👨‍🚀 Show your support

Give a ⭐️ if this project helped you!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages