0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Ruby library for Cryptsy API v2
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 5.7.0, ~> 5.7

Runtime

~> 0.13.5
 Project Readme

THIS PROJECT IS DEPRECATED DUE TO THE CLOSING OF CRYPTSY

Cryptsy API v2

Code Climate Test Coverage Build Status

A Ruby wraper for Cryptsy API v2

Installation

Add this line to your Gemfile

gem 'cryptsy-api2'

Then run bundler

$ bundle install

Usage

require 'cryptsy/api2'
api = Cryptsy::API2::Client.new(public_key, private_key)

Examples

api.markets.info 'ltc_btc'

{
  "id" => "3",
  "label" => "LTC/BTC",
  "coin_currency_id" => "2",
  "market_currency_id" => "3",
  "maintenance_mode" => "0",
  "verifiedonly" => false,
  "24hr" => {
    "volume" => 23284.88931944,
    "volume_btc" => 376.20375262,
    "price_high" => 0.017,
    "price_low" => 0.01549999
  },
  "last_trade" => {
    "price" => 0.01602871,
    "date" => "2015-07-25 13:00:24",
    "timestamp" => 1437843624
  }
}

Support

Like my code? Want to support my coffee habit? http://tinnvec.com/support