rpcit – Steemit JSON-RPC 2.0 CLI

in steemitdev •  3 months ago

Yet another developer tool. This time a handy command line tool lets you speak with steemd, jussi and all the other Steemit JSON-RPC services.

Head over to the GitHub project page for installation and usage instructions:

https://github.com/jnordberg/rpcit

Usage

Combine it with jq to create powerful shell scripts (just remember to stop and write a proper app if your find yourself with more than 100 lines of bash, ain't nobody got time for that).

Here's a one-liner that grabs the top 10 authors from trending and lists their account balances:

rpcit get_discussions_by_trending :'{"tag":"","limit":10}' | \
  jq -c -r 'map(.author)' | \
  rpcit get_accounts _ | \
  jq '.[] | {name, balance, sbd_balance, vesting_shares}'

example.png


Peace!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  Trending

playing with it, quite interesting so far. Already the shell code is quite large :)

Moral support! 👏🏼

Awesooooooooome !!! Thanks for this, I'll play with it tomorrow :D

more straight fire, another great tool! :)

you are great

programming is a challenging
but i like it
thanks for sharing

Thank you for your time to apply it and understand how it work .

wonderful programming, nice post, thanks for sharing

@almost-digital wow great article

alrighty!

Hey man. I just want to give you a big thank you for helping me get on steemit. It is as awesome as I thought it would be.

It seems interresting i followed and up voted. Please keep doing your great work

Thanks, I will tinker with it this weekend.