Project

mwo

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby gem for interfacing with Mechwarrior Online's Public API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Mwo

Ruby gem for interfacing with Mechwarrior Online's public API

http://mwomercs.com/forums/topic/164685-betatesting-for-our-json-reference-files-the-start-of-the-api-details-within/

Installation

Add this line to your application's Gemfile:

gem 'mwo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mwo

Usage

Weapons

Get a list of all weapons

MWO::Weapon.all
MWO::Weapon.all_raw # if you want the json response from the api

Scoped weapons

By Category

MWO::Weapon.ballistic
MWO::Weapon.energy
MWO::Weapon.missile

By Faction

MWO::Weapon.clan
MWO::Weapon.innersphere

Mechs

List all Mechs

MWO::Mech.all
MWO::Mech.all_raw # if you want the json response from the api
Lists the Mech ID with their corresponding variants
MWO::Mech.dictionary # Lists the Mech ID with their corresponding variants

By Weight class

MWO::Mech.lights
MWO::Mech.mediums
MWO::Mech.heavies
MWO::Mech.assaults

Contributing

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

Author

Florante "Buddy" Magsipoc

@keikun17

License

Licensed under the MIT license (see MIT-LICENSE file)