zingmp3py
A light weight Python library for the ZingMp3 API
*all functions are return dict or ZingMp3 Object
install
pypi
pip install zingmp3py
Git (version in development)
pip install git+https://github.com/thedtvn/zingmp3py.git
Sync :
from zingmp3py import ZingMp3
zi = ZingMp3()
# login is not required
zi.login("zpsid cookies")
zi.getDetailPlaylist("67ZFO8DZ")
zi.getDetailArtist("Cammie")
zi.getRadioInfo("IWZ979CW")
zi.getSongInfo("ZWAF6UFD")
zi.getSongStreaming("ZWAF6UFD")
zi.getTop100()
zi.search("rick roll")
Async
import asyncio
from zingmp3py import ZingMp3Async
async def main():
zi = ZingMp3Async()
# login is not required
await zi.login("zpsid cookies")
await zi.getDetailPlaylist("67ZFO8DZ")
await zi.getDetailArtist("Cammie")
await zi.getSongInfo("ZWAF6UFD")
await zi.getSongStreaming("ZWAF6UFD")
await zi.getTop100()
await zi.search("rick roll")
asyncio.run(main())
how to get zpsid cookies
go to https://id.zalo.me/account/logininfo then check f12 go to tab application go to cookies and check for cookie name zpsid
note: please check check you are login or not by check key logged in json return in that url is true
Get Type And ID
from zingmp3py import getUrlTypeAndID
getUrlTypeAndID("https://zingmp3.vn/liveradio/IWZ979CW.html")
Metadata
Release files for zingmp3py 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zingmp3py-0.3.3.tar.gz | 8.9 kB | Without provenance | Details for zingmp3py-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zingmp3py-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for zingmp3py-0.3.3-py3-none-any.whl |
Total release size: 19.6 kB
Release files / zingmp3py-0.3.3.tar.gz
| Download URL | zingmp3py-0.3.3.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49075fee54c8e414afa1f304901b7d18ec32ddaba20a1daae2cd908cbc724c0a
|
|
BLAKE2b-256 checksum How to use checksums |
e0ac2afe122c0a3e38b6db2bee47de4c184e8165f0173a92f776675f4e0940f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / zingmp3py-0.3.3-py3-none-any.whl
| Download URL | zingmp3py-0.3.3-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8d9e5f2cb6399516489f692942b698f39d8242d2985cc5d83e4437ee49d5614
|
|
BLAKE2b-256 checksum How to use checksums |
6576466ce954a64b83b1ec57699274fabdd85ade3afea60313f60d1fede4072f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for zingmp3py 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.