rpcit – Steemit JSON-RPC 2.0 CLI

in #steemitdev7 years ago (edited)

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!

Sort:  

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! :)

programming is a challenging
but i like it
thanks for sharing

wonderful programming, nice post, thanks for sharing

you are great

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

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.

Nice post, you have get 100 % upvote from @steemupvotebot, follow us for upvotes, updates and technology related news.
To, @almost-digitalIMG_20180112_010615.jpg