Metadata-Version: 2.1
Name: zingmp3py
Version: 0.3.1
Summary: A Python library for the ZingMp3 API
Author: The DT
Author-email: The DT <duongtuan30306@gmail.com>
Project-URL: Homepage, https://github.com/thedtvn/zingmp3py
Project-URL: Bug Tracker, https://github.com/thedtvn/zingmp3py/issues
Keywords: zingmp3,music,api,vietnam
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# zingmp3py
#### A light weight Python library for the ZingMp3 API
##### *all functions are return dict or ZingMp3 Object

# Sync :
```py
from zingmp3py import ZingMp3

zi = ZingMp3()
zi.getDetailPlaylist("67ZFO8DZ")
zi.getDetailArtist("Cammie")
zi.getRadioInfo("IWZ979CW")
zi.getSongInfo("ZWAF6UFD")
zi.getSongStreaming("ZWAF6UFD")
zi.getTop100()
zi.search("rick roll")
```

# Async
```py
import asyncio
from zingmp3py import ZingMp3Async

async def main():
    zi = ZingMp3Async()
    await zi.getDetailPlaylist("67ZFO8DZ")
    await zi.getDetailArtist("Cammie")
    await zi.getSongInfo("ZWAF6UFD")
    await zi.getSongStreaming("ZWAF6UFD")
    await zi.getTop100()
    await zi.search("rick roll")

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

## Get Type And ID

```py
from zingmp3py import getUrlTypeAndID

getUrlTypeAndID("https://zingmp3.vn/liveradio/IWZ979CW.html")
```
