I'm trying to test the APIs I've found on eosflare because I need to find some blocks and transactions information for my thesis.
I was wondering if I could retrieve the data without downloading cleos with a simple API Request. I think the API url is someway correct because I get this response when I test it:
r = requests.get('https://api.eosflare.io/v1/eosflare/get_account/')
print(r.status_code)
print(r.headers['content-type'])
print(r.encoding)
print(r.text)
200
application/json; charset=utf-8
utf-8
{"err_code":10,"err_msg":"Error: ($.account: undefined) ✖ (required: true)"}
But when I try to add an account name to solve the previous error, I always get a Not Found response:
r = requests.get('https://api.eosflare.io/v1/eosflare/get_account/yupcreators1')
print(r.status_code)
print(r.headers['content-type'])
print(r.encoding)
print(r.text)
404
text/plain; charset=utf-8
utf-8
Not Found
Thanks in advance for any type of help.