-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
33 lines (26 loc) · 1.21 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import asyncio
from jiosaavn import Async
from jiosaavn import Sync
asyncJioSaavn = Async.JioSaavn()
syncJioSaavn = Sync.JioSaavn()
async def defMain():
# data = await asyncJioSaavn.song(id='veJXEDz',)
# data = await asyncJioSaavn.searchSong('alone')
# data = await asyncJioSaavn.searchAlbum('Alone' )
# data = await asyncJioSaavn.album(url='https://www.jiosaavn.com/album/Vm5jaOSkM7E_')
# data = await asyncJioSaavn.playlist(url='https://www.jiosaavn.com/playlist/88063878238ad9a391a33c0e628d2b01/90s_Love/OykxHSA0YytFo9wdEAzFBA__')
# data = syncJioSaavn.song(id='veJDA')
# https://www.jiosaavn.com/song/alone/Bg0haTF0dkk
# data = syncJioSaavn.song(url='https://www.jiosaavn.com/song/alone/Bg0haT0dkk')
# data = syncJioSaavn.searchSong('alone')
# data = syncJioSaavn.album(id='awdawdawd')
# data = syncJioSaavn.searchAlbum('Alone')
# data = syncJioSaavn.playlist(url='https://www.jiosaavn.com/playlist/88063878238ad9a391a33c0e628d2b01/90s_Love/OykxHSA0YytFo9wdEAzFBA__')
# data = syncJioSaavn.playlist(id='nhhbkhbfdwsdawdawd')
#
# print(data)
return ''
async def main():
await defMain()
loop = asyncio.get_event_loop()
loop.run_until_complete(main())