Project

taapi_ruby

0.0
The project is in a healthy, maintained state
This gem provides a simple interface to interact with the taapi.io API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.0
~> 13.0
~> 3.0
~> 3.25
 Project Readme

taapi_ruby

Simple Wrapper to make API request to TAAPI.io API.

Installation

Add this line to your application's Gemfile:

gem 'taapi_ruby'

And then execute:

bundle install

Or install it yourself as:

gem install taapi_ruby

Usage

Configuration

First, configure the gem with your TAAPI.io API key. You can do this in an initializer file in a Rails application or at the start of your script:

TaapiRuby.configure do |config|
  config.api_key = 'your_api_key_here'
end

Making API Requests

Create a client instance and use it to make requests to the TAAPI.io API. For example, to get the RSI indicator:

client = TaapiRuby::Client.new
response = client.get_indicator('rsi', symbol: 'BTC/USDT', interval: '1h', exchange: 'binance')
puts response

Example Response

The response will be a parsed JSON object. For example:

{
  "value": 70
}