Closed yikun27 closed 3 years ago
Hi @yikun27 thanks for the report. The country parameter is defined as the "A valid country code (default US)" according to the documentation here: https://developer.musixmatch.com/documentation/api-reference/artist-chart-get. So I tried to set the country as "Japan" and "JP". The results are different on my side. I hope this addresses the issue.
Describe the bug No matter how I change the country name, the "top_artisit" returns the same output. So it looks like the country parameter is not working here.
To Reproduce Steps to reproduce the behavior:
Code from dataprep.connector import connect conn = connect("musixmatch", _auth={'access_token':'40acad758db****2fb2ea271'}, _count =1000)
All following codes produce the same results, so the country is not useful in the input: Screenshots await conn.query('top_artists',country ='Japan')
await conn.query('top_artists')
await conn.query('top_artists', country='US')
Expected behavior I believe the output should be selected based on the records within that country if we have a country name in the input. But we see the outputs are all the same nomatter whether we select country or not.
Desktop (please complete the following information):
Additional context