Sha256: c907067ee4c9e3ef7b74db87eef0be68ff2cd8f3961e8d4afb03ca121b8ab312
Contents?: true
Size: 1.77 KB
Versions: 2
Compression:
Stored size: 1.77 KB
Contents
# HaloAPI [![Gem Version](https://badge.fury.io/rb/halo-api.svg)](https://badge.fury.io/rb/halo-api) [![Dependency Status](https://gemnasium.com/badges/github.com/xarlybovi/halo-api.svg)](https://gemnasium.com/github.com/xarlybovi/halo-api) [![Code Climate](https://codeclimate.com/github/xarlybovi/halo-api.png)](https://codeclimate.com/github/xarlybovi/halo-api) [![Build Status](https://travis-ci.org/xarlybovi/halo-api.svg?branch=master)](https://travis-ci.org/xarlybovi/halo-api) [![Coverage Status](https://coveralls.io/repos/github/xarlybovi/halo-api/badge.svg?branch=master)](https://coveralls.io/github/xarlybovi/halo-api?branch=master) Wrapper for Halo Public API (BETA). https://developer.haloapi.com ## Installation Add this line to your application's Gemfile: ```ruby gem 'halo-api' ``` And then execute: $ bundle Or install it yourself as: $ gem install halo-api ## Usage Basic examples: ````ruby Halo.configure do |config| config.api_key = ENV['HALO_API_KEY'] config.region = ENV['HALO_REGION'] end ```` ````ruby halo5_client = Halo.halo5 halo_wars2_client = Halo.halo_wars2 h5_missions = halo5_client.metadata.campaign_missions h5_player_appearance = halo5_client.profile(player: 'xarly bovi').player_appearance h2w_campaign_levels = halo_wars2_client.metadata.campaign_levels ```` ## TODO - [x] Halo 5 endpoints - [x] Halo Wars 2 endpoints - [ ] Documentation ## Contributing Bug reports and pull requests are welcome! 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 new Pull Request ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
halo-api-0.3.1 | README.md |
halo-api-0.3.0 | README.md |