Is there any server on the Internet that uses JsonRpc and is publically available?
I want to test a JsonRpc client.
Does Google have any page that allows reading of anything with JsonRpc? Does YouTube? Does Facebook? Does W3C?
The JsonRpc server that i want to talk to isn't responding; and i'm trying to figure out if it's because they don't support JsonRpc.
Random.org has a nice api for generating random numbers.
For example, using Python with jsonrpcclient:
>>> import requests
>>> from jsonrpcclient import request, parse
>>> response = requests.post("http://api.random.org/json-rpc/1/invoke", request("generateIntegers", params={"apiKey": "(yourkey)", "n": 3, "min": 0, "max": 10}))
>>> parsed = parse(response.json())
>>> parsed.result
{'bitsLeft': 249920, 'advisoryDelay': 0, 'bitsUsed': 10, 'random': {'data': [9, 4, 2], 'completionTime': '2015-04-09 00:52:22Z'}, 'requestsLeft': 992}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With