{"id":18536751,"url":"https://github.com/henry-richard7/spotify-analytics-project","last_synced_at":"2025-05-15T01:13:22.260Z","repository":{"id":156875308,"uuid":"612044310","full_name":"henry-richard7/Spotify-Analytics-Project","owner":"henry-richard7","description":"This repos uses github actions to get my recently played songs and add it as a parquet file in GCS Bucket.","archived":false,"fork":false,"pushed_at":"2023-08-17T01:27:33.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T07:41:57.582Z","etag":null,"topics":["data-engineering","spotify","spotify-analysis","spotify-api","spotify-web-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henry-richard7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-10T04:27:17.000Z","updated_at":"2023-10-13T07:18:45.000Z","dependencies_parsed_at":"2024-03-30T16:32:17.514Z","dependency_job_id":null,"html_url":"https://github.com/henry-richard7/Spotify-Analytics-Project","commit_stats":null,"previous_names":["henry-richard7/spotify-analytics-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry-richard7%2FSpotify-Analytics-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry-richard7%2FSpotify-Analytics-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry-richard7%2FSpotify-Analytics-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry-richard7%2FSpotify-Analytics-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henry-richard7","download_url":"https://codeload.github.com/henry-richard7/Spotify-Analytics-Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254028,"owners_count":22039792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-engineering","spotify","spotify-analysis","spotify-api","spotify-web-api"],"created_at":"2024-11-06T19:35:43.867Z","updated_at":"2025-05-15T01:13:22.241Z","avatar_url":"https://github.com/henry-richard7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify-Analytics-Project\nThis repos uses github actions to get my recently played songs and add it as a parquet file in GCS Bucket.\n\n# How to use?\n\n* Sign Up for a spotify developer account from [Here](https://developer.spotify.com/)\n* After Sign Up go to [Dashboard](https://developer.spotify.com/dashboard/)\n* Click on Create An App. Give it a name and description and click on create App.\n* After creating the app go to edit settings and in **Redirect URIs** enter **http://localhost:8000**\n* Copy your Client Secret and Client ID and create a secret for github in **Settings -\u003e Secrets -\u003e Actions** as below\n  - **SPOTIFY_CLIENT_ID:** Your Spotify Client ID.\n  - **SPOTIFY_CLIENT_SECRET:** Your Spotify Client Secret.\n* After that run **get_spotify_refresh_token.py** file in your local and follow the steps.\n* Copy your refresh token and create a secret for github in **Settings -\u003e Secrets -\u003e Actions** as below\n  - **SPOTIFY_REFRESH_TOKEN:** The refresh token you got after running **get_spotify_refresh_token.py**.\n\n# GCS (Google Cloud Storage) Bucket:\n* GCP provides 5GB Free GCS bucket when you create App Engine service.(completely free no need billing)\n* Before creating GCS bucket App Engine service make sure to create a service account with Storage Admin Role for the same. follow Step of the [Guide](https://support.google.com/a/answer/7378726?hl=en)\n* After completing the above step in Google Cloud Console search for App Engine and enable it.\n* After enabling you will get 2 GCS buckets your-project-id.appspot.com and staging.your-project-id.appspot.com we don't need staging bucket.\n* Copy your GCS bucket name and create a secret for github in **Settings -\u003e Secrets -\u003e Actions** as below\n   - **BUCKET_NAME:** The name of your GCS Bucket.\n* Run **encode_service_account.py** in your local to encode the service account json file you got and copy the encoded string and create a secret for github in **Settings -\u003e Secrets -\u003e Actions** as below\n  - **SPOTIFY_RECENTLY_PLAYED:** The encoded string you got after running **encode_service_account.py**\n\n# Dashboard\nSource Code: https://github.com/henry-richard7/Spotify-Analytics-Dashboard\n\u003cbr/\u003e\nDeployed dashobard : https://spotify-analytics-dashboard.onrender.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenry-richard7%2Fspotify-analytics-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenry-richard7%2Fspotify-analytics-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenry-richard7%2Fspotify-analytics-project/lists"}