Tasty

FREEMIUM
Verified
Par Api Dojo | Mise à jour a month ago | Food
Popularité

9.7 / 10

Latence

2,208ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

The same receipe

Rapid account: Swiecinskiolaf
swiecinskiolaf
2 years ago

Hello, how can I receive after new request - new random receipe?

Because now when I use receipes/list with size 1, everytime I run a code I receive the same receipe.

Rapid account: Apidojo
apidojo Commented 2 years ago

Hello,

1/ You may use default size (20), and choose a random recipe between 1 to 20.
2/ If you want to do it more, you may try …/tags/list first, choose a random name returned and then pass in …/recipes/list as “tags” value.
Any computer programming language supports random number from Math library.

Regards

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires