{"id":20681626,"url":"https://github.com/zackelia/spotifyapi","last_synced_at":"2026-02-18T14:03:12.843Z","repository":{"id":57480218,"uuid":"178960579","full_name":"zackelia/spotifyapi","owner":"zackelia","description":"A Python wrapper to interact with the Spotify web API","archived":false,"fork":false,"pushed_at":"2020-06-30T00:39:37.000Z","size":90,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T13:47:08.555Z","etag":null,"topics":["python","spotify"],"latest_commit_sha":null,"homepage":null,"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/zackelia.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}},"created_at":"2019-04-01T23:05:45.000Z","updated_at":"2023-04-28T00:28:08.000Z","dependencies_parsed_at":"2022-09-26T17:41:37.804Z","dependency_job_id":null,"html_url":"https://github.com/zackelia/spotifyapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zackelia/spotifyapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackelia%2Fspotifyapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackelia%2Fspotifyapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackelia%2Fspotifyapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackelia%2Fspotifyapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackelia","download_url":"https://codeload.github.com/zackelia/spotifyapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackelia%2Fspotifyapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29581536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T13:56:48.962Z","status":"ssl_error","status_checked_at":"2026-02-18T13:54:34.145Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-11-16T22:11:29.972Z","updated_at":"2026-02-18T14:03:12.807Z","avatar_url":"https://github.com/zackelia.png","language":"Python","readme":"# spotifyapi\n\n[![PyPI](https://img.shields.io/pypi/v/spotifyapi.svg)](https://pypi.python.org/pypi/spotifyapi/)\n[![PyPI](https://img.shields.io/pypi/pyversions/spotifyapi.svg)](https://pypi.python.org/pypi/spotifyapi/)\n[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n*spotifyapi* is a modern Python wrapper to interact with the Spotify web API. *spotifyapi* attempts to stay as close as possible to\nthe original API calls while implementing more Pythonic features.\n\n## Installation\n\n*spotifyapi* supports Python 3.6 and higher and can be installed through Pip.\n\n```pip install spotifyapi```\n\n## Example\n\nThe easiest way to use *spotifyapi* is using the SpotifyEndpoint which implements all methods of the package. However, it\nis still possible to use the individual endpoints such as AlbumEndpoint, PlayerEndpoint, etc.\n\n```python\nfrom spotifyapi import SpotifyEndpoint\n\nspotify = SpotifyEndpoint(oauth)\n\n# Get the currently playing track\nplaying = spotify.get_currently_playing().item\n\n# Get the track's features using Spotify's machine learning\nfeatures = spotify.get_audio_features(playing)\n\n# Time to party!\nif features.danceability \u003e 0.75:\n    spotify.volume(100)\n```\n\n## Contributing\n\n*spotifyapi* is open to contributions! Either take a look at the list of issues or submit your own. In order to develop on *spotifyapi*, follow this guide:\n\n1. Fork and clone the repository locally\n2. Setup a virtual environment\n    - `python3.6 -m venv venv`\n    - `source venv/bin/activate`\n    - `pip install -r requirements-dev.txt`\n    - `pre-commit install`\n3. Develop following the [Spotify API guide](https://developer.spotify.com/documentation/web-api/reference/)\n4. Commit changes and submit a pull request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackelia%2Fspotifyapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackelia%2Fspotifyapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackelia%2Fspotifyapi/lists"}