Skip to content

tommysolsen/dota

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dota

TravisCI Build Status

Ruby wrapper for Dota 2 WebAPI

Usage

Dota.configure do |config|
  config.api_key = 'STEAM-WEB-API-KEY'
end

You can get your api key here

Match details (GetMatchDetails API call)

Dota.match(22345678)

League listing (GetLeagueListing API call)

Dota.leagues

Live league games (GetLiveLeagueGames API call)

Dota.live_leagues

Match history (GetMatchHistory API call)

Dota.history

View profiles (GetPlayerSummaries API call)

Dota.profiles(76561197993409962)

View player bans (GetPlayerBans API call)

Dota.bans(76561197993409962)

View friends (GetFriendList API call)

Dota.friends(76561197993409962)

Contributing

  1. Fork it
  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 new Pull Request

About

Ruby wrapper for Dota 2 WebAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%