I have simply wrapped the code onto four servers, located at East USA, West USA, Tokyo Japan and London, UK.
This simplifies the API call if you want to retrieve information of SteemIt accounts, for example, using PHP, you can retrieve that with just two lines of code.
1 2 | $account = json_decode(file_get_contents("https://uploadbeta.com/api/steemit/account/?id=justyy"), true); echo $account[0]['voting_power']; // e.g. returns 9002 |
$account = json_decode(file_get_contents("https://uploadbeta.com/api/steemit/account/?id=justyy"), true); echo $account[0]['voting_power']; // e.g. returns 9002
Cloudflare CDN Edge servers are also available if you invoke the API endpoint via GET method and provides a ?cached parameter i.e.
https://uploadbeta.com/api/steemit/account/?cached&id=justyy
You also also pass the ID via POST:
1 | curl -X POST -d "id=justyy" https://uploadbeta.com/api/steemit/account/ |
curl -X POST -d "id=justyy" https://uploadbeta.com/api/steemit/account/
SteemIt API Servers Locations
Currently, four are provided, maintained on regular basis:
- (East USA):https://helloacm.com/api/steemit/account/
- (West USA):https://steakovercooked.com/api/steemit/account/
- (Tokyo Japan):https://happyukgo.com/api/steemit/account/
- (London, UK):https://uploadbeta.com/api/steemit/account/
You may also like: 简单封装了一下 steemit/account 的 API
–EOF (The Ultimate Computing & Technology Blog) —
GD Star Rating
loading...
303 wordsloading...
Last Post: [Code Review] - Value Not Used
Next Post: How to Get Transfer History of SteemIt Accounts via SteemIt API/transfer-history?