{"id":18708197,"url":"https://github.com/ni5arga/spotify-stats-python","last_synced_at":"2025-04-12T10:33:54.782Z","repository":{"id":211364659,"uuid":"728933065","full_name":"ni5arga/spotify-stats-python","owner":"ni5arga","description":"A script written in Python to get your Spotify stats like top artists, songs, albums \u0026 more :)","archived":false,"fork":false,"pushed_at":"2023-12-08T03:08:13.000Z","size":130,"stargazers_count":30,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T13:37:32.979Z","etag":null,"topics":["python","spotify","spotify-api","spotify-cli","spotify-stats","spotipy"],"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/ni5arga.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}},"created_at":"2023-12-08T02:38:29.000Z","updated_at":"2024-04-03T15:26:55.000Z","dependencies_parsed_at":"2023-12-08T03:30:26.817Z","dependency_job_id":null,"html_url":"https://github.com/ni5arga/spotify-stats-python","commit_stats":null,"previous_names":["ni5arga/spotify-stats-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ni5arga%2Fspotify-stats-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ni5arga%2Fspotify-stats-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ni5arga%2Fspotify-stats-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ni5arga%2Fspotify-stats-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ni5arga","download_url":"https://codeload.github.com/ni5arga/spotify-stats-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223511420,"owners_count":17157518,"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":["python","spotify","spotify-api","spotify-cli","spotify-stats","spotipy"],"created_at":"2024-11-07T12:22:15.876Z","updated_at":"2024-11-07T12:22:16.344Z","avatar_url":"https://github.com/ni5arga.png","language":"Python","readme":"# spotify-stats-python\nA script written in Python to get your Spotify stats :)\n\n![image](image.png)\n\n## Features\n\n- Display the currently playing song at the top with a distinctive color.\n- Show your top 5 artists based on listening history.\n- Present the top 5 songs you've listened to recently.\n- Highlight your top 5 albums.\n- Share the top 5 songs you've recently played.\n\n\n## Requirements\n\n- Python 3.x\n- `spotipy` library (install it via `pip install spotipy`)\n- `colorama` library (install it via `pip install colorama`)\n\n## Setup Instructions\n1. Clone this repository.\n2. Install the dependencies `pip install -r requirements.txt`\n\n3. Configure Spotify API credentials:\nCreate a Spotify App on the Spotify Developer Dashboard.\nObtain your `CLIENT_ID` and `CLIENT_SECRET.`\nSet the `REDIRECT_URI` to http://localhost:5173/callback/ (you can set it to any URL you want to but you'll have to edit `REDIRECT_URI` in the script as well to match it) in your Spotify App settings.\n\n5. Update stats.py: Replace the placeholders in the get_spotify_stats function with your `CLIENT_ID` and `CLIENT_SECRET`.\n6. You can now run `python stats.py` to get the stats.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fni5arga%2Fspotify-stats-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fni5arga%2Fspotify-stats-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fni5arga%2Fspotify-stats-python/lists"}