API wrapper for the top.gg website written in Haxe
haxelib git topgg-wrapper https://github.com/RealCerus/topgg-haxe-wrapper.git
- Add
--library topgg-wrapper
to yourbuild.hxml
file
- Obtain a wrapper:
var wrapper:TopGgWrapper = WrapperBuilder.builder()
.setToken("<token>")
.setBotId("<botid>")
.create();
- You can now access the implemented endpoints. for example the get stats endpoint:
var stats:StatsBasic = wrapper.getStats(wrapper.getBotId());
This is my first real Haxe project. I appreciate constructive criticism and feedback in general!
This project is licensed under the MIT license.