Browse Source

README.RPC: Document api-example.rb

Luke Dashjr 11 years ago
parent
commit
faae0c46aa
2 changed files with 4 additions and 0 deletions
  1. 1 0
      AUTHORS
  2. 3 0
      README.RPC

+ 1 - 0
AUTHORS

@@ -54,3 +54,4 @@ Isidoro Ghezzi <isidoro.ghezzi@icloud.com>
 capa66 <capa66@x204.com>
 capa66 <capa66@x204.com>
 Red_Wolf_2 <redwolf@wolfnexus.net>
 Red_Wolf_2 <redwolf@wolfnexus.net>
 Mr O <notanatheist@gmail.com>
 Mr O <notanatheist@gmail.com>
+James Hilliard <james.hilliard1@gmail.com>

+ 3 - 0
README.RPC

@@ -436,6 +436,9 @@ api-example.py - a Python script to access the API.
  by default it sends a 'summary' request to the miner at 127.0.0.1:4028
  by default it sends a 'summary' request to the miner at 127.0.0.1:4028
  If you specify a command it will send that request instead.
  If you specify a command it will send that request instead.
 
 
+api-example.rb - a Ruby script to access the API.
+  usage: ruby api-example.py command[:parameter] [HOST [PORT]]
+
 If you are using Node.js, you can also use the miner-rpc package and script:
 If you are using Node.js, you can also use the miner-rpc package and script:
 https://www.npmjs.org/package/miner-rpc
 https://www.npmjs.org/package/miner-rpc