Tasty

FREEMIUM
Verified
By Api Dojo | Updated 16 giorni fa | Food
Popularity

9.7 / 10

Latency

2,334ms

Service Level

100%

Health Check

N/A

Back to All Discussions

The same receipe

Rapid account: Swiecinskiolaf
swiecinskiolaf
2 anni fa

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 anni fa

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

Join in the discussion - add comment below:

Login / Signup to post new comments