neoice / ruby-vircurex

Wrapper for vircurex.com API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ruby-vircurex is just a simple wrapper around the vircurex API as described here: https://vircurex.com/welcome/api

install:
  sudo gem install ruby-vircurex

example:
  require 'vircurex'
  
  api = Vircurex::API.new 'mikhail'
  
  e_response = api.get_info_for_currency
  puts e_response.inspect # do whatever with data
  
  # see https://vircurex.com/welcome/api for details about what parameters are required
  # note: the parameter hash and the secret word can be in any order
  t_response = api.get_balance({:currency => "btc"}, "soopersecretword")
  puts t_response.inspect # do whatever with data

About

Wrapper for vircurex.com API

License:GNU General Public License v3.0


Languages

Language:Ruby 100.0%