Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are search results different when searching on the API versus searching on the RadioTime site?

0
Posted

Why are search results different when searching on the API versus searching on the RadioTime site?

0

There are several reasons why API search differs from the site search: • The API automatically filters out non-playable results, which vary based on the device. If no information is supplied to the API, it assumes a filter of MP3+WMA with no device streams. The site can and often does return everything. • The API uses a different page size than the site. At most, the API will return 50 results while the site can return 200 results. This was done because most applications are not useful to the user with more than 50 items per page. • The API performs substring term matching by default, whereas the site does not. For example, if you search for the term “Beatl” on the API, you will receive results for “Beatles.” However, if you search the site for “Beatl,” you will not receive any results. • When testing the API with a device, make sure to use your partner ID that has device streams enabled in order to receive all results possible.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123