README.md in gamelocker_api-0.1.1 vs README.md in gamelocker_api-0.1.2
- old
+ new
@@ -19,9 +19,15 @@
$ gem install gamelocker_api
## Usage
TODO: Write usage instructions here
+```ruby
+ # Api Key and Region
+ api = GameLockerAPI.new("API_KEY", "na")
+ response = api.players("Cyberarm")
+ p response # => GameLockerAPI::Player
+```
## Development
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing