# README
SwitchCraftGo
Golang API wrapper for the SwitchCraft3 Chatbox API, the general purpuse API, and the dynmap API. Also has a Chatbox Brigadier, to more fluently create Chatbox commands.
go get -u github.com/Erb3/switchcraftgo
API
The API wrapper is fully documented with comments, tests and examples for every function. View it on the Golang package site.
# Functions
Fetches the leaderboard of most deaths.
No description provided by the author
Fetches the current player counts from the API.
Fetches the leaderboard of who has been the most active player.
Fetches the current ComputerCraft proxies
Returns an array of IP ranges in CIDR notation that HTTP requests originate from when sent from ComputerCraft.
Fetches information about the supporter goal
Assuming success, the following information is returned: - SupporterUrl is a string containing the URL to support SwitchCraft - Current is a float of the current donated money this month, in dollars - Goal is a float of the supporter goal, in dollars - GoalMet reports whether the goal has been met
In the case that something fails, the first return value is nil and the second is the error.
Fetches information regarding ticks per seconds.
Creates a new instance of Brigadier.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Structs
An instance of Brigadier.
Definition for an argument.
A registered Brigadier Command.
The invocation of a Brigadier command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author