Skip to content

ganesshkumar/dota2api

Repository files navigation

dota2api

Java wrapper for dota2 web api

Impletemented APIs

  • getMatchHistory()
  • getMatchDetails()
  • getLeagueListing()
  • getLiveLeagueGames()
  • getTeamInfoByTeamId()
  • getPlayerSummaries()
  • getHeros()
  • getItems()
  • getTournamentPrizePool()

Usage

fun main(args: Array<String>) {
    val dota2Client = Dota2Client("YOUR_SECRET_KEY")
    // Print all heroes
    dota2Client.heroes().forEach { println("${it.name} : ${it.images.large}") }
    // Print all items
    dota2Client.items().forEach { println(it.name) }
}

API Details

Inspired dota2api

About

Java wrapper for dota2 web api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages