view musixmatch.py @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 80a9556123da
children
line wrap: on
line source
import musixmatch 
import musixmatch.ws 
import json
import soundcloud

apikey = '8496dd1c715c69a74ef9fcde1716cf4a'


chart = musixmatch.ws.track.chart.get(country='it', apikey=apikey)


lyrics = musixmatch.ws.track.lyrics.get('Sexy and I know it',apikey=apikey)

print '\n' + 'XXXXXXXXX'

for each_item in chart['body']['track_list']:
	print each_item 


for each_line in chart['body']['lyrics']:
	print each_line