Tasty

FREEMIUM
Por Api Dojo | Actualizada 16 days ago | Food
Popularidad

9.7 / 10

Latencia

2,334ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

Sort results by most popular

Rapid account: Jake Hp Zc Uiue F
jake-HpZcUiueF
a year ago

The quality of the results that are returned from the /recipes/list endpoint seem to be a bit unreliable compared to those that are returned on the tasty website (mainly the photos).

After looking into this, it looks like you are returning results sorted by latest, why is that? Will you be able to expose a parameter to allow us to choose whether to sort the results by latest or most popular?

Example of search sorted by latest:
https://tasty.co/api/proxy/tasty/search-feed?size=20&from=0&search_terms=chicken%2Csoup&sort=created_at:desc

Example of search sorted by most popular:
https://tasty.co/api/proxy/tasty/search-feed?size=20&from=0&search_terms=chicken%2Csoup

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

…/recipes/list endpoint now supports sort parameter. You leave it empty (or simply ignore) to sort by popular as default OR one of the following : approved_at:desc|approved_at:asc

Regards.

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

I have forwarded your request to the IT team for review. You will receive notification if there is any news released.

Regards.

Rapid account: Jake Hp Zc Uiue F
jake-HpZcUiueF Commented a year ago

Hey yes I am looking on the tasty.co website and there is a dropdown box available to change the order of returned recipes when you search. You can even see in their search URL that there is a sort query parameter… Please use the two links below to see how the recipe search results change based on that query param.

  1. https://tasty.co/search?q=chicken+soup&sort=popular
  2. https://tasty.co/search?q=chicken+soup&sort=latest

Also, the links I sent in the original post shows how the sort can be applied to their public search API

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

This API reproduces PUBLIC data and features of tasty.co. If you use the site/application, you will see there is no sorting option to change the order of returned recipes.

Regards.

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios