When performing a search using the Deezer API, the results obtained are the not the same as the ones obtained when performing the search from the Deezer web site.

Is there a way to obtain the same results as the web site using the API?

有帮助吗?

解决方案

Search results are localized based on the current user's country (IP based). If you query the website and the API from the same location, you'll get the same results.

You can override the country by passing a user token to the request to make sure you always get the same results.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top