Random Data API
http Request :
GET https://api.codetabs.com/v1/random/integer?range=X-Y
Examples
Get random number between 1-10 both inclusive
https://api.codetabs.com/v1/random/integer?min=1&max=10
Valid Range: 0 - 10.000.000.000
You can also specify how many times you want the result with the parameter times.
Default is 1 and there is no need to specify it. Max times = 10.000
https://api.codetabs.com/v1/random/integer?min=1&max=10×=50>
response
{
"quest": "Random Integer between 1-10",
"data": [
10
]
}
{
"quest": "50 Random Integers between 1-10",
"data": [
7,
8,
...
4
]
}