<p align="center">
<a href="https://github.com/cyanbook/spotipy2">
<img src="https://svgshare.com/i/STC.svg" alt="Spotipy2">
</a>
<br>
<b>The next generation Spotify Web API wrapper for Python</b>
<br>
<a href="https://spotipy2.org">
Documentation
</a>
•
<a href="https://github.com/cyanbook/spotipy2/releases">
Releases
</a>
•
<a href="https://github.com/CyanBook/spotipy2/discussions">
Community
</a>
</p>
### Quick example
```python
import asyncio
from spotipy2 import Spotify
from spotipy2.auth import ClientCredentialsFlow
async def get_track_name(track_id):
client = Spotify(
ClientCredentialsFlow(
client_id="client_id",
client_secret="client_secret"
)
)
async with client as s:
track = await s.get_track(track_id)
print(f"The name of the track is {track.name}")
asyncio.run(get_track_name(input("Insert the track ID: ")))
```
### Key Features
- **Easy** - Makes the Spotify API easy to understand and intuitive, without giving less customization.
- **Fast** - Thanks to its async design and [`aiohttp`](https://github.com/aio-libs/aiohttp) speed, spotipy2 is incredibly fast
- **Type-hinted** - All the methods and types are type-hinted, enabling excellent IDE support
- **Documented** - API methods, types and interfaces are all well documented
### Installing
```bash
pip install spotipy2
```
## Resources
- Check out the docs at https://spotipy2.org to learn about Spotipy2.
- For any issue, open one [here](https://github.com/CyanBook/spotipy2/issues) or contact me privately via [Telegram](https://t.me/CyanBook).
- If you have anything else to ask, feel free to open a [discussion](https://github.com/CyanBook/spotipy2/discussions)
Raw data
{
"_id": null,
"home_page": "https://spotipy2.org/",
"name": "spotipy2",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "spotify spotipy spotipy2 api wrapper client library oauth",
"author": "CyanBook",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/99/19/676a8067ce50563b86b91f5f65d4c6fb60e1b13713353ff11613cc682363/spotipy2-0.6.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/cyanbook/spotipy2\">\n <img src=\"https://svgshare.com/i/STC.svg\" alt=\"Spotipy2\">\n </a>\n <br>\n <b>The next generation Spotify Web API wrapper for Python</b>\n <br>\n <a href=\"https://spotipy2.org\">\n Documentation\n </a>\n \u2022\n <a href=\"https://github.com/cyanbook/spotipy2/releases\">\n Releases\n </a>\n \u2022\n <a href=\"https://github.com/CyanBook/spotipy2/discussions\">\n Community\n </a>\n</p>\n\n### Quick example\n```python\nimport asyncio\nfrom spotipy2 import Spotify\nfrom spotipy2.auth import ClientCredentialsFlow\n\nasync def get_track_name(track_id):\n client = Spotify(\n ClientCredentialsFlow(\n client_id=\"client_id\",\n client_secret=\"client_secret\"\n )\n )\n\n async with client as s:\n track = await s.get_track(track_id)\n print(f\"The name of the track is {track.name}\")\n\nasyncio.run(get_track_name(input(\"Insert the track ID: \")))\n```\n\n### Key Features\n- **Easy** - Makes the Spotify API easy to understand and intuitive, without giving less customization.\n- **Fast** - Thanks to its async design and [`aiohttp`](https://github.com/aio-libs/aiohttp) speed, spotipy2 is incredibly fast\n- **Type-hinted** - All the methods and types are type-hinted, enabling excellent IDE support\n- **Documented** - API methods, types and interfaces are all well documented\n\n### Installing\n```bash\npip install spotipy2\n```\n\n## Resources\n- Check out the docs at https://spotipy2.org to learn about Spotipy2.\n- For any issue, open one [here](https://github.com/CyanBook/spotipy2/issues) or contact me privately via [Telegram](https://t.me/CyanBook).\n- If you have anything else to ask, feel free to open a [discussion](https://github.com/CyanBook/spotipy2/discussions)\n\n",
"bugtrack_url": null,
"license": "LGPLv3+",
"summary": "The next generation Spotify Web API wrapper for Python",
"version": "0.6.1",
"split_keywords": [
"spotify",
"spotipy",
"spotipy2",
"api",
"wrapper",
"client",
"library",
"oauth"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d285d0057cf53b4fe7bf7191af11b412",
"sha256": "54a56d2c69571cac5ebdf7650604ce3be39eb794017a9936dfad918bdc94d36d"
},
"downloads": -1,
"filename": "spotipy2-0.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d285d0057cf53b4fe7bf7191af11b412",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 20834,
"upload_time": "2022-12-30T21:52:01",
"upload_time_iso_8601": "2022-12-30T21:52:01.474637Z",
"url": "https://files.pythonhosted.org/packages/44/7c/d1d3d4944104c69b6022c521df8496b8497022df7c41c4a29efbded23872/spotipy2-0.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "8c2dff522789639323bcbee1bbeeb53b",
"sha256": "e0ed8801285855973a7ff31c2684e5f8546560010e5a696bf498da05f55f5030"
},
"downloads": -1,
"filename": "spotipy2-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "8c2dff522789639323bcbee1bbeeb53b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 11673,
"upload_time": "2022-12-30T21:52:03",
"upload_time_iso_8601": "2022-12-30T21:52:03.134077Z",
"url": "https://files.pythonhosted.org/packages/99/19/676a8067ce50563b86b91f5f65d4c6fb60e1b13713353ff11613cc682363/spotipy2-0.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-30 21:52:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "spotipy2"
}