Skip to content

tgel0/spotify-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽง Spotify Data Project

A serverless solution for getting the audio features data from the Spotify Web API into a BigQuery database.

๐Ÿ’ป Installation

  1. Clone this repo
  2. Initialize gcloud gcloud init
  3. Deploy Cloud Function
gcloud functions deploy get_spotify_audio_features_data_to_bigquery --runtime python38 --trigger-topic spotify_topic --set-env-vars CID='YOUR_SPOTIFY_CID',SECRET='YOUR_SPOTIFY_SECRET',PROJECT_ID=YOUR_GCP_PROJECT_ID,DATASET_ID=YOUR_BIGQUERY_DATASET_NAME,TABLE_ID=YOUR_BIGQUERY_TABLE_NAME
  1. Create a Cloud Scheduler job to run automatically (optional)

๐Ÿ› ๏ธ Built With

๐Ÿ–ฅ๏ธ APIs

๐Ÿ Python libraries:

  • Spotipy - Python wrapper for Spotify Web API

โ˜๏ธ Google Cloud Platform services

๐ŸŒฑ Notebooks, Datasets, Blogs

About

Spotify API to BigQuery serverless pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published