# spotifio
Async Spotify Api Wrapper
```
pip install git+https://github.com/s4w3d0ff/spotifio.git#egg=spotifio
```
```python
from spotifio import Client
async def main():
c = Client(
client_id="client_id_123",
client_secret="client_secret_123",
redirect_uri="http://localhost:8080",
scope=["user-read-currently-playing"]
)
await c.login()
r = await c.get_currently_playing()
print(r)
if __name__ == '__main__':
import asyncio
asyncio.run(main())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/s4w3d0ff/spotifio",
"name": "spotifio",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "spotify api async aiohttp music streaming oauth2",
"author": "s4w3d0ff",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/14/ed/a6d93d320acaa824c4360b88c5c024e0b59571db2daa657003e1f070836f/spotifio-0.1.2.tar.gz",
"platform": null,
"description": "# spotifio\nAsync Spotify Api Wrapper\n\n```\npip install git+https://github.com/s4w3d0ff/spotifio.git#egg=spotifio\n```\n\n```python\nfrom spotifio import Client\n\nasync def main():\n c = Client(\n client_id=\"client_id_123\",\n client_secret=\"client_secret_123\",\n redirect_uri=\"http://localhost:8080\",\n scope=[\"user-read-currently-playing\"]\n )\n await c.login()\n r = await c.get_currently_playing()\n print(r) \n\nif __name__ == '__main__':\n import asyncio\n asyncio.run(main())\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "An async Spotify Web API client library",
"version": "0.1.2",
"project_urls": {
"Bug Reports": "https://github.com/s4w3d0ff/spotifio/issues",
"Homepage": "https://github.com/s4w3d0ff/spotifio",
"Source": "https://github.com/s4w3d0ff/spotifio"
},
"split_keywords": [
"spotify",
"api",
"async",
"aiohttp",
"music",
"streaming",
"oauth2"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d5aef678b4c744e017e8a99594851103c4584b899e8dcc7d410a741e377806c6",
"md5": "90effcc0ea6458fe712636f0da2b3065",
"sha256": "a2150ededac924d05f59f66d1010880367d358729c81e6d4295ca4a505c52c4d"
},
"downloads": -1,
"filename": "spotifio-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "90effcc0ea6458fe712636f0da2b3065",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 21880,
"upload_time": "2025-02-01T23:41:41",
"upload_time_iso_8601": "2025-02-01T23:41:41.185471Z",
"url": "https://files.pythonhosted.org/packages/d5/ae/f678b4c744e017e8a99594851103c4584b899e8dcc7d410a741e377806c6/spotifio-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "14eda6d93d320acaa824c4360b88c5c024e0b59571db2daa657003e1f070836f",
"md5": "66750b0dae5d4f08d8ddb50844a6b0e9",
"sha256": "8a0775cd7d807f55dfb9feefe01df9be4345ce5eb254ee19a641538bfc7e1eb9"
},
"downloads": -1,
"filename": "spotifio-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "66750b0dae5d4f08d8ddb50844a6b0e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 22024,
"upload_time": "2025-02-01T23:41:43",
"upload_time_iso_8601": "2025-02-01T23:41:43.195522Z",
"url": "https://files.pythonhosted.org/packages/14/ed/a6d93d320acaa824c4360b88c5c024e0b59571db2daa657003e1f070836f/spotifio-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-01 23:41:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "s4w3d0ff",
"github_project": "spotifio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiohttp",
"specs": [
[
">=",
"3.8.0"
]
]
},
{
"name": "aiofiles",
"specs": [
[
">=",
"0.8.0"
]
]
}
],
"lcname": "spotifio"
}