Giter Club home page Giter Club logo

rushb-ruby-gem's Introduction

Rushb

Rushb ELO Ranking System by CHALLONGE! LLC

API Documentation can be found at https://www.mashape.com/akdarrah/rushb-elo-engine/overview.

Installation

Add this line to your application's Gemfile:

gem 'rushb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rushb

Usage

>> require 'rushb'
=> true
>> c = Rushb::Client.new("5cc6d9601b9d01329c7a482a142a36ba")
=> #<Rushb::Client:0x007fbb4fb47578 @api_key="5cc6d9601b9d01329c7a482a142a36ba">
>> c.games
=> [#<Rushb::Smash::Game application_id=1 created_at="2014-09-11T04:52:55.012Z" default_k_factor=15 default_rating=1000 id=1 pro_rating_boundry=2400 starter_boundry=30 updated_at="2014-09-11T04:52:55.012Z">, ...]
>> c.games(page: 2)
=> [#<Rushb::Smash::Game application_id=1 created_at="2014-12-18T05:00:53.980Z" default_k_factor=15 default_rating=1000 id=32 pro_rating_boundry=2400 starter_boundry=30 updated_at="2014-12-18T05:00:53.980Z">, ...]
>> c.create_game
=> #<Rushb::Smash::Game application_id=1 created_at="2014-12-19T06:12:29.733Z" default_k_factor=15 default_rating=1000 id=43 pro_rating_boundry=2400 starter_boundry=30 updated_at="2014-12-19T06:12:29.733Z">

Contributing

  1. Fork it ( https://github.com/[my-github-username]/rushb/fork )
  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

rushb-ruby-gem's People

Contributors

akdarrah avatar

Watchers

David Cornelius avatar  avatar James Cloos avatar

Forkers

corneldm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.