Project

glassnode

0.0
No release in over a year
Glassnode API ruby wrapper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.7.6, >= 2.5.0
~> 0.1.0, >= 0.1.0
~> 0.17.5, >= 0.15.3
~> 0.1.1, >= 0.1.1
~> 2.5.0, >= 2.1.2
~> 0.14.0, >= 0.12.2
~> 2.6.2, >= 2.2.0
~> 2.1.1, >= 2.0.0
 Project Readme

Glassnode API for Ruby

A Ruby reference implementation of the Glassnode REST.

This repo is primarily made up of 2 classes: RESTv1, RESTv2, which implement their respective versions of the Glassnode API. It is recommended that you use the REST APIs for reading data.

Check the Glassnode API documentation for more information.

Features

  • REST API v1
  • REST API v2

Installation

Add this line to your application's Gemfile:

gem 'glassnode'

And then execute:

bundle

Or install it yourself as:

gem install glassnode

Usage of RESTv1/RESTv2

To use the REST APIs, construct a new API client with your account credentials:

client = Glassnode::RESTv1.new({
  :api_key => '...'
})

Then use it to submit queries, i.e. client.addresses_sending_to_exchanges_count(a: 'btc')

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request