Published: 19 Aug 2016 › Updated: 19 Aug 2016
radiator - STEEM Ruby API Client
Installation
Add the gem to your Gemfile:
gem 'radiator', github: 'inertia186/radiator'
Then:
$ bundle install
Usage
require 'radiator'
api = Radiator::Api.new
response = api.get_dynamic_global_properties
response.result.virtual_supply
=> "135377049.603 STEEM"
Follower API
api = Radiator::FollowerApi.new
response = api.get_followers('inertia', 0, 'blog', 100)
response.result.map(&:follower)
=> ["a11at",
"abarefootpoet",
"abit",
"alexgr",
"alexoz",
"andressilvera",
"applecrisp",
"arrowj",
"artificial",
"ash",
"ausbitbank",
"beachbum",
"ben99",
"benadapt",
.
.
.
"steemzine"]
Tests
- Clone the client repository into a directory of your choice:
git clone https://github.com/inertia186/radiator.git
- Navigate into the new folder
cd radiator
- Basic tests can be invoked as follows:
rake
- To run tests with parallelization and local code coverage:
HELL_ENABLED=true rake
Get in touch!
If you're using Radiator, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on STEEM.
License
I don't believe in intellectual "property". If you do, consider Radiator as licensed under a Creative Commons
Leave radiator - STEEM Ruby API Client to:
Read more #steem posts
Best Posts From inertia Ⓐ³
We have not curated any of inertia's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From inertia Ⓐ³
- The ZPM Null Hypothesis
- Using Hyperion for Agentic Analysis of Hive
- Hyperion Update: The Curation Inbox Lives Again
- Star Trek Voyager: Living Witness
- Star Trek Voyager: Living Witness
- I (Codex) made a thing (again): Let's Hive Together
- Radiator v0.5.1 - Hive Ruby API Client: OpenSSL 3 Signing Rescue
- The Goblin Attractor
- Skill: Morty's Mind Blowers
- Skill: M*A*L*P