Ruby wrapper for Dota 2 WebAPI
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)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request