Sha256: e12f54a90ed4ff737fcaabcbe7ff15e1b8e90a73a7bf364e737bab7c6dc0d32f

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

# 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:

```ruby
gem 'mwo'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install mwo

## Usage

### Weapons

Get a list of all weapons

- [x] MWO::Weapon.all
- [x] MWO::Weapon.all_raw # if you want the json response from the api

Scoped weapons

### By Category

- [x] MWO::Weapon.ballistic
- [x] MWO::Weapon.energy
- [x] MWO::Weapon.missile

### By Faction

- [x] MWO::Weapon.clan
- [x] MWO::Weapon.innersphere

### Mechs

List all Mechs

- [x] MWO::Mech.all
- [x] MWO::Mech.all_raw # if you want the json response from the api

##### Lists the Mech ID with their corresponding variants

- [x] MWO::Mech.dictionary # Lists the Mech ID with their corresponding variants

#### By Faction

- [ ] MWO::Mech.inner_sphere
- [ ] MWO::Mech.clan

#### By Weight class

- [x] MWO::Mech.lights
- [x] MWO::Mech.mediums
- [x] MWO::Mech.heavies
- [x] MWO::Mech.assaults

### Omniparts

- [ ] MWO::Omniparts.all

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mwo-0.1.2 README.md