Steem API Explorer

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@lantto·
0.000 HBD
Steem API Explorer
[Steem API Explorer](http://steemroll.io/api-explorer) is a tool for testing Steem API calls. It is useful for developers but also for people who just want to see the raw blockchain data.

https://www.steemimg.com/images/2016/08/24/header_newe2c0a.png

## Usage ##
Select what method you want to call and get a set of changeable parameters. The result can be viewed either as formatted JSON, raw JSON or expandable tree.

https://www.steemimg.com/images/2016/08/24/get_content_new12afc.png

## Errors ##
Errors are output explicitly and can be tracked to the the relevant API method in [Steem](https://github.com/steemit/steem), for example [database_api::get_account_references](https://github.com/steemit/steem/blob/master/libraries/app/database_api.cpp#L359-L379) as shown below.

https://www.steemimg.com/images/2016/08/24/error_new02bc8.png

## Examples ##
[Get this post](http://steemroll.io/api-explorer/#method=get_content&params=["lantto","steem-api-explorer"])
[Get account lantto](http://steemroll.io/api-explorer/#method=get_accounts&params=[["lantto"]])
[Get trending categories](http://steemroll.io/api-explorer/#method=get_trending_categories&params=["","50"])
[Get number of Steem accounts](http://steemroll.io/api-explorer/#method=get_account_count&params=[])
[Get pending Steem Dollar to Steem conversions for lantto](http://steemroll.io/api-explorer/#method=get_conversion_requests&params=["lantto"])
[Get blockchain config](http://steemroll.io/api-explorer/#method=get_config&params=[])
[Get blockchain variables such as total supply and latest block number](http://steemroll.io/api-explorer/#method=get_dynamic_global_properties&params=[])
[Get block number 3963025](http://steemroll.io/api-explorer/#method=get_block&params=["3963025"])
[Get account creation fee](http://steemroll.io/api-explorer/#method=get_chain_properties&params=[])
[Get witness roadscape](http://steemroll.io/api-explorer/#method=get_witness_by_account&params=["roadscape"])

## Tips ##
* Use the arrow keys to quickly browse methods and see what parameters they take.
* Your last query is contained in the URL in case you want to share it.

## Issues ##
* *get_account_references* is not working due to [this](https://github.com/steemit/steem/blob/master/libraries/app/database_api.cpp#L364-L379).
* *get_best_categories*, *get_active_categories* and *get_recent_categories* seem unused if you look at [this](http://steemroll.io/api-explorer/#method=get_state&params=[""]) and will always return empty results. *get_trending_categories* works though.
* For *get_transaction* and *get_witnesses* I haven't figured out what input they require. If anyone knows please give me a shout!

## TODO ##
* Add the [remaining methods](http://steemroll.io/api-explorer/remaining_methods.txt)
* Add loading spinner for slow methods
* Description of parameters
* Sortable table view for list results

## Built with ##
* [Vue.js](http://vuejs.org)
* [steem.ws](https://steem.ws) by @xeroc and @jesta
* [Bootstrap](http://getbootstrap.com)
* [js-beautify](https://github.com/beautify-web/js-beautify)
* [json-formatter-js](https://github.com/mohsen1/json-formatter-js)

## Feedback ##
I would love to hear your feedback as I'm sure there are many ways to improve this.

<hr>

## [steemroll.io/api-explorer](http://steemroll.io/api-explorer) ##

<hr>

## If you like my tools, please give me a follow! @lantto ##
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,