Quantum Random Number Generator API

This app distributes quantum random numbers. You can access a JSON with the quantum random numbers in different forms using the link:

https://quantum-random.com/quantum

You can access the single fields of the JSON accessing the link https://quantum-random.com/random/{field}

For example, to access the seed, you can use the link https://quantum-random.com/random/seed

Non quantum random number can be generated via:

https://quantum-random.com/random

Example application: generate random numbers using a seed retrieved from this remote server.


from urllib.request import urlopen
import random
import json

url = "https://quantum-random.com/quantum"

data_json = json.loads(urlopen(url).read())

random.seed(data_json['seed'])