This example will output the reply details and totals for the post/comment passed as an argument to the script.
Full, runnable src of Get Post Comments can be downloaded as part of: tutorials/ruby.
First, we ask the blockchain for the replies on a post or comment. Then, we grab the authors of those replies and list them, followed by the total comments count.
First, set up your workstation using the steps provided in Getting Started. Then you can create and execute the script (or clone from this repository):
git clone firstname.lastname@example.org:steemit/devportal-tutorials-rb.git
ruby comments_list.rb https://steemit.com/steem/@steemitblog/dev-portal-update-new-steem-developer-resources
Total replies: 20