An open API service indexing awesome lists of open source software.

https://github.com/ganesshkumar/dota2api

Java wrapper for dota2 web api
https://github.com/ganesshkumar/dota2api

dota2 dota2api feign

Last synced: 2 days ago
JSON representation

Java wrapper for dota2 web api

Awesome Lists containing this project

README

          

# dota2api
Java wrapper for dota2 web api

Impletemented APIs

* [ ] getMatchHistory()
* [ ] getMatchDetails()
* [ ] getLeagueListing()
* [ ] getLiveLeagueGames()
* [ ] getTeamInfoByTeamId()
* [ ] getPlayerSummaries()
* [x] getHeros()
* [x] getItems()
* [ ] getTournamentPrizePool()

## Usage

```kotlin
fun main(args: Array) {
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](https://wiki.teamfortress.com/wiki/WebAPI)

Inspired [dota2api](https://dota2api.readthedocs.io/en/latest/installation.html)