Project

rts

0.0
No release in over 3 years
Low commit activity in last 3 years
A Ruby interface to the RTS JSON API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17, >= 1.17.3
>= 0
~> 13.0
~> 3.8
~> 4.0
~> 3.4

Runtime

>= 2.1.0, ~> 2.1
>= 2.1.0, ~> 2.1
 Project Readme

RTS Ruby Wrapper

Installation

Add this line to your application's Gemfile:

gem 'rts'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rts

Usage

To create RTS:Client
client = RTS:Client.new(api_key: 'pass_api_key', client_certificate: 'pass_ssl_certificate', client_key: 'pass_ssl_key')`

sports

client.sports

leagues

client.league(sport: 'lol')

teams

client.teams(sport: 'lol')

players

client.players(sport: 'lol')
players by team_id
client.players(sport: 'lol', team_id: 1)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rmishra-ror/rts.

License

The gem is available as open source under the terms of the MIT License.