Name | aiospotify.py JSON |
Version |
1.1.0
JSON |
| download |
home_page | None |
Summary | An asynchronous Python 3.10+ Spotify Web API wrapper. |
upload_time | 2024-07-28 12:35:36 |
maintainer | None |
docs_url | None |
author | novanai |
requires_python | >=3.10 |
license | None |
keywords |
spotify
api
async
asynchronous
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# aiospotify.py
An asynchronous Python 3.10+ Spotify Web API wrapper.
* **Documentation:** <https://aiospotifypy.readthedocs.io/en/stable/>
* **Examples**: <https://github.com/novanai/aiospotify.py/tree/master/examples>
## Installation
```bash
pip install -U aiospotify.py
```
## Getting Started
```py
import asyncio
import spotify
async def main():
# Setup an API client
auth = await spotify.ClientCredentialsFlow.build_from_access_token(
"CLIENT_ID",
"CLIENT_SECRET",
)
api = spotify.API(auth)
# Get details about a Spotify artist
artist = await api.get_artist("0e86yPdC41PGRkLp2Q1Bph")
print(artist.name) # "Mother Mother"
asyncio.run(main())
```
## To-Do List
* [ ] Add extra methods to Paginator *(for fetching all items, lazy iteration etc)*
* [ ] URI helper class
* [ ] Automatically handle 429's (Too Many Requests)
Raw data
{
"_id": null,
"home_page": null,
"name": "aiospotify.py",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "spotify, api, async, asynchronous",
"author": "novanai",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/98/e9/6fbb188099ff8232103d094b264d0c1e572f88920b686a4f23a80a190a23/aiospotify_py-1.1.0.tar.gz",
"platform": null,
"description": "# aiospotify.py\n\nAn asynchronous Python 3.10+ Spotify Web API wrapper.\n\n* **Documentation:** <https://aiospotifypy.readthedocs.io/en/stable/>\n* **Examples**: <https://github.com/novanai/aiospotify.py/tree/master/examples>\n\n## Installation\n\n```bash\npip install -U aiospotify.py\n```\n\n## Getting Started\n\n```py\nimport asyncio\nimport spotify\n\nasync def main():\n # Setup an API client\n auth = await spotify.ClientCredentialsFlow.build_from_access_token(\n \"CLIENT_ID\",\n \"CLIENT_SECRET\",\n )\n api = spotify.API(auth)\n\n # Get details about a Spotify artist\n artist = await api.get_artist(\"0e86yPdC41PGRkLp2Q1Bph\")\n print(artist.name) # \"Mother Mother\"\n\n\nasyncio.run(main())\n```\n\n## To-Do List\n\n* [ ] Add extra methods to Paginator *(for fetching all items, lazy iteration etc)*\n* [ ] URI helper class\n* [ ] Automatically handle 429's (Too Many Requests)\n",
"bugtrack_url": null,
"license": null,
"summary": "An asynchronous Python 3.10+ Spotify Web API wrapper.",
"version": "1.1.0",
"project_urls": {
"Documentation": "https://aiospotifypy.readthedocs.io/en/stable/",
"Issues": "https://github.com/novanai/aiospotify.py/issues",
"Repository": "https://github.com/novanai/aiospotify.py"
},
"split_keywords": [
"spotify",
" api",
" async",
" asynchronous"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "47a6a0caffae190df34e1a06b4b6afb9cf699b7ddb06891b04d7aaed3ff65286",
"md5": "750dc268bdcc5c427f521f7d51763dc4",
"sha256": "eb5c42ece9ff20b8c41ff403ba8dfe7ea852cc2847f357dcc1334bb77dc09717"
},
"downloads": -1,
"filename": "aiospotify_py-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "750dc268bdcc5c427f521f7d51763dc4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 44294,
"upload_time": "2024-07-28T12:35:35",
"upload_time_iso_8601": "2024-07-28T12:35:35.206516Z",
"url": "https://files.pythonhosted.org/packages/47/a6/a0caffae190df34e1a06b4b6afb9cf699b7ddb06891b04d7aaed3ff65286/aiospotify_py-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "98e96fbb188099ff8232103d094b264d0c1e572f88920b686a4f23a80a190a23",
"md5": "33454e6f9f6e2afcbbd4de106432e5e3",
"sha256": "64a511ebb2faafcaf87e7c2dcda0effc5dc2828719c089adac0a617765aadb08"
},
"downloads": -1,
"filename": "aiospotify_py-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "33454e6f9f6e2afcbbd4de106432e5e3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 45946,
"upload_time": "2024-07-28T12:35:36",
"upload_time_iso_8601": "2024-07-28T12:35:36.297611Z",
"url": "https://files.pythonhosted.org/packages/98/e9/6fbb188099ff8232103d094b264d0c1e572f88920b686a4f23a80a190a23/aiospotify_py-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-28 12:35:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "novanai",
"github_project": "aiospotify.py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aiospotify.py"
}