https://github.com/cerus/topgg-haxe-wrapper
API wrapper for the top.gg website written in Haxe
https://github.com/cerus/topgg-haxe-wrapper
api-wrapper haxe haxe-library haxelib topgg
Last synced: about 1 month ago
JSON representation
API wrapper for the top.gg website written in Haxe
- Host: GitHub
- URL: https://github.com/cerus/topgg-haxe-wrapper
- Owner: cerus
- License: mit
- Created: 2020-03-13T19:08:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-14T14:05:42.000Z (about 5 years ago)
- Last Synced: 2025-01-24T17:44:44.070Z (3 months ago)
- Topics: api-wrapper, haxe, haxe-library, haxelib, topgg
- Language: Haxe
- Homepage: https://top.gg/api/docs
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# topgg-haxe-wrapper
API wrapper for the top.gg website written in Haxe## Installation
1. `haxelib git topgg-wrapper https://github.com/RealCerus/topgg-haxe-wrapper.git`
2. Add `--library topgg-wrapper` to your `build.hxml` file## Usage
1. Obtain a wrapper:
```haxe
var wrapper:TopGgWrapper = WrapperBuilder.builder()
.setToken("")
.setBotId("")
.create();
```2. You can now access the implemented endpoints. for example the get stats endpoint:
```haxe
var stats:StatsBasic = wrapper.getStats(wrapper.getBotId());
```## Note
This is my first real Haxe project. I appreciate constructive criticism and feedback in general!## License
This project is licensed under the MIT license.