An unofficial client for the Vestaboard API in go.
client := vestaboard.New(c.APIKey, c.Secret)
From there, use the client methods
Viewer
to get the information from the connected viewerSubscriptions
to get the subscription informationSendText
to post a message with the default formatting
There are a nice set of demos in cmd/ To use these, set your API Key and Secret as environment variables.
export APIKEY=YOUR_API_KEY_GOES_HERE
export SECRET=YOUR_SECRET_GOES_HERE
Then just run the 'main.go' in whichever directory:
go run cmd/send-text/main.go
Does what it says - writes 'Hello World' to your vestaboard.
Writes out the current time about every 15 seconds.
Conway's game of life.
Prints out the current subscriptions tied to the Vestaboard to the command-line.
Writes a fun test-pattern to the Vestaboard.
Prints results of the Vestaboard 'Viewer' API method to the command-line.