A Go library for the UnbelievaBoat Discord bot API.
By Bailey
The UnbelievaBoat API library is an importable package to make using the UnbelievaBoat API easier to use within Go. Although updates may be few and far, all new features are added as they are released as I talk to the developer of the bot and I am made aware of upcoming changes. PRs, bug reports and feature requests are welcome!
Version 1 (/v1
) uses version 1 of the UnbelievaBoat API and should be imported as github.com/BaileyJM02/unb-api-go/v1
, more on the install process here. This is allows for the second version of the api to be installed as github.com/BaileyJM02/unb-api-go/v2
etc. upon release.
A few of the things you can do with unb-api-go:
- Connect to the UnbelievaBoat API
- See user balance
- See guild leaderboard
- Set custom http.Client
- And more...
Feel free to send me feedback on Twitter or file an issue. Feature requests are always welcome. If you wish to contribute, please take a quick look at the guidelines!
If there's anything you'd like to chat about, please feel free to join our Discord Server and mention me: @Bailey#0004
!
I'm guessing you already have an environment setup.
$ go get github.com/BaileyJM02/unb-api-go/v1
to install the wrapper (v1)api := v1.New(token)
to create a new instance,token
is your token found hereapi.GetBalance(guildID, userID)
functions follow theapi
var we created above.
Nothing here yet.