I am working on automating some of my processes through the API.
I am running into a wall because if I want it to be random I cannot have the same number of rows every time. Is there any way to do this?
Like I would like to create any number of rows between 10 and 20000
If you’re using the Mockaroo API, the number of rows can be specified via the count query parameter. It would be up to the consuming application to generate a random number to pass as the count query parameter. More information is available on the API docs page.
If you’re exporting and downloading the data, I don’t believe there is any way to generate a random number of rows, but others can correct me if I’m wrong. As a workaround, you could export the maximum number of rows and use a text editor or some other tool to remove a random number of rows.