Skip to content

a-i-ko93/ruby-pubg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • Add to Gemfile
gem 'pubg'
  • Configure gem with
Pubg.configure do |c|
  c.tracker_id = 'tracker_id'
end

Usage

  • Get player by nickname, for example:
Pubg::Player.by_nickname('PuhovikPushistik')
  • Get player by Steam ID, for example:
Pubg::Player.by_steam_id('76561198278451481')

Running the tests

Spec files are located under /spec directory. You can run them using rspec command.

License

This project is licensed under the MIT License - see the LICENSE.md file for details