- Notifications
You must be signed in to change notification settings - Fork0
A ruby wrapper for the PLAYERUNKNOWN'S BATTLEGROUNDS stats API fromhttps://pubgtracker.com
License
MIT, MIT licenses found
Licenses found
aelor/ruby-pubg
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A ruby wrapper for the PLAYERUNKNOWN'S BATTLEGROUNDS stats API fromhttps://pubgtracker.com.Get details about the gem athttps://rubygems.org/gems/ruby-pubg
Add this line to your application's Gemfile:
gem'ruby-pubg'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-pubg
Create an account athttps://pubgtracker.com/site-api and request an API Key.
#to initialize the clientclient=Ruby::Pubg::Client.new('YOUR-API-KEY-HERE')
#find nick name of user from steamidclient.find_name_by_steam_id('STEAMIDGOESHERE')#find stats with the nick nameclient.find_by_name('NAMEGOESHERE')
Bug reports and pull requests are welcome on GitHub athttps://github.com/aelor/ruby-pubg. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to theContributor Covenant code of conduct.
The gem is available as open source under the terms of theMIT License.
About
A ruby wrapper for the PLAYERUNKNOWN'S BATTLEGROUNDS stats API fromhttps://pubgtracker.com