musixmatch.py
Go to the documentation of this file.
1 import musixmatch
2 import musixmatch.ws
3 import json
4 import soundcloud
5 
6 apikey = '8496dd1c715c69a74ef9fcde1716cf4a'
7 
8 
9 chart = musixmatch.ws.track.chart.get(country='it', apikey=apikey)
10 
11 
12 lyrics = musixmatch.ws.track.lyrics.get('Sexy and I know it',apikey=apikey)
13 
14 print '\n' + 'XXXXXXXXX'
15 
16 for each_item in chart['body']['track_list']:
17  print each_item
18 
19 
20 for each_line in chart['body']['lyrics']:
21  print each_line