probe-gate
Demonstrates generating multiple fake colors with a fixed seed to get reproducible results
curl 'https://fakerapi.it/api/v2/colors?_quantity=3&_seed=123'
import requests
resp = requests.get(
"https://fakerapi.it/api/v2/colors",
params={
'_quantity': '3',
'_seed': '123',
},
)
data = resp.json()
import zingu_apis
api = zingu_apis.api("fakerapi")
result = api.fetch("colors", _quantity=3, _seed=123)
for item in result:
print(item)
const resp = await fetch("https://fakerapi.it/api/v2/colors?_quantity=3&_seed=123");
const data = await resp.json();