项目作者: ganesshkumar

项目描述 :
Java wrapper for dota2 web api
高级语言: Kotlin
项目地址: git://github.com/ganesshkumar/dota2api.git
创建时间: 2017-07-03T20:12:36Z
项目社区:https://github.com/ganesshkumar/dota2api

开源协议:

下载


dota2api

Java wrapper for dota2 web api

Impletemented APIs

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

Usage

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

API Details

Inspired dota2api