Skip to content

A Go library for the UnbelievaBoat Discord bot API.

License

Notifications You must be signed in to change notification settings

BannerBomb/unb-api-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnbelievaBoat API Wraper


Unb

A Go library for the UnbelievaBoat Discord bot API.
By Bailey

Website | Discord

Table of Contents

Introduction

PRs Welcome Discord

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.

Features

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...

Feedback

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!

Install Process

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 here
  • api.GetBalance(guildID, userID) functions follow the api var we created above.

Acknowledgments

Nothing here yet.

About

A Go library for the UnbelievaBoat Discord bot API.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%