Since we can only create developer key of the new "Release 2" API now, if you are trying to use this package with it, you have to update the API endpoint as following:
$random = new RandomOrg\Random(
'testtest-test-test-test-testtesttest',
new RandomOrg\Client(
'https://api.random.org/json-rpc/2/invoke'
)
);
Hope this can help. Also, please consider to update the default API endpoint. Thanks.
Since we can only create developer key of the new "Release 2" API now, if you are trying to use this package with it, you have to update the API endpoint as following:
Hope this can help. Also, please consider to update the default API endpoint. Thanks.