{"id":20366937,"url":"https://github.com/ashish0kumar/spotify-stats","last_synced_at":"2026-06-09T05:02:08.096Z","repository":{"id":242055825,"uuid":"808567518","full_name":"ashish0kumar/Spotify-stats","owner":"ashish0kumar","description":" 🎶A script written in Python to get your Spotify stats","archived":false,"fork":false,"pushed_at":"2024-06-08T14:42:38.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T05:39:53.467Z","etag":null,"topics":["music","python","python-script","spotify","spotify-stats"],"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/ashish0kumar.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":"2024-05-31T10:38:20.000Z","updated_at":"2024-09-29T16:10:02.000Z","dependencies_parsed_at":"2024-11-15T00:28:18.143Z","dependency_job_id":"c7a370e1-aefc-406e-8945-1cdddb6fd495","html_url":"https://github.com/ashish0kumar/Spotify-stats","commit_stats":null,"previous_names":["ashish0kumar/spotify-stats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2FSpotify-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2FSpotify-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2FSpotify-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2FSpotify-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashish0kumar","download_url":"https://codeload.github.com/ashish0kumar/Spotify-stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241908693,"owners_count":20040665,"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":["music","python","python-script","spotify","spotify-stats"],"created_at":"2024-11-15T00:27:58.802Z","updated_at":"2026-06-09T05:02:03.071Z","avatar_url":"https://github.com/ashish0kumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎵 Spotify-stats\nA script written in Python to get your Spotify stats\n\n![script output](image.png)\n\n## ✨ Features\n\nDisplays:\n- currently playing song at the top with a distinctive color.\n- top 5 artists based on listening history.\n- top 5 songs you've listened to recently.\n- top 5 albums.\n- 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- `pyfiglet` library (install it via `pip install pyfiglet`)\n\n## 🚀 Usage\n1. Clone this repository.\n```bash\ngit clone https://github.com/ashish0kumar/Spotify-stats.git\n```\n2. Install the dependencies \n```bash\npip install -r requirements.txt\n```\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 the stats.py script to get the stats.\n```bash\npython stats.py\n```\n\n## 📜 License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish0kumar%2Fspotify-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashish0kumar%2Fspotify-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish0kumar%2Fspotify-stats/lists"}