{ "info": { "author": "Zack Elia", "author_email": "pypi@zacharyelia.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# 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(token)\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 > 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 - `cd .git & 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", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zackelia/spotifyapi", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "spotifyapi", "package_url": "https://pypi.org/project/spotifyapi/", "platform": "", "project_url": "https://pypi.org/project/spotifyapi/", "project_urls": { "Homepage": "https://github.com/zackelia/spotifyapi" }, "release_url": "https://pypi.org/project/spotifyapi/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "A Python wrapper to interact the Spotify web API", "version": "0.1.1" }, "last_serial": 5699001, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d68712da2347e7502e7ec66dcf2a89e3", "sha256": "2e9d8c0fc034063300d2ccb39abc0d5be270fbdf18a0c0cccc15e26a0236e2fc" }, "downloads": -1, "filename": "spotifyapi-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d68712da2347e7502e7ec66dcf2a89e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17977, "upload_time": "2019-04-01T23:20:44", "url": "https://files.pythonhosted.org/packages/f9/78/1b0bca0cf0ecfe2a973310ac1a3fa4846ce2cb05696919ab9a4bf994f32f/spotifyapi-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef3d50a155b7c821bd370a7310765622", "sha256": "f14505d9f865ad10b062689a011e70f64e69c77a36da9459fa3b4eb73e95fc9d" }, "downloads": -1, "filename": "spotifyapi-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ef3d50a155b7c821bd370a7310765622", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4095, "upload_time": "2019-04-01T23:20:46", "url": "https://files.pythonhosted.org/packages/14/87/cfaa9c5a56130d8a178b828763967b17f9ba266eeaa2de0650c1c27e0ecf/spotifyapi-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "33d9cd10acdab5a72f10252fae266629", "sha256": "63736524101ec7f172a8d4c486a7d7a3615eb3bfab6219caa2fa71e0af0f119b" }, "downloads": -1, "filename": "spotifyapi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "33d9cd10acdab5a72f10252fae266629", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19027, "upload_time": "2019-08-19T00:33:36", "url": "https://files.pythonhosted.org/packages/65/c9/9cd70f8fb1e14e4e5d27bff5db35a632f8822a7a6bbab458f2ee3f8434b9/spotifyapi-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ddecaa950b3ff39443cd6d03db4c8e63", "sha256": "0ee925680c869a524de005057f498de14f6bb762b81fb1ac1eb02308440bd972" }, "downloads": -1, "filename": "spotifyapi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ddecaa950b3ff39443cd6d03db4c8e63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21085, "upload_time": "2019-08-19T15:26:13", "url": "https://files.pythonhosted.org/packages/b9/f8/9070daece271f7e996930195892e1b9942819d0bdbfeaf5f3602656745db/spotifyapi-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ddecaa950b3ff39443cd6d03db4c8e63", "sha256": "0ee925680c869a524de005057f498de14f6bb762b81fb1ac1eb02308440bd972" }, "downloads": -1, "filename": "spotifyapi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ddecaa950b3ff39443cd6d03db4c8e63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21085, "upload_time": "2019-08-19T15:26:13", "url": "https://files.pythonhosted.org/packages/b9/f8/9070daece271f7e996930195892e1b9942819d0bdbfeaf5f3602656745db/spotifyapi-0.1.1.tar.gz" } ] }