Go Adafruit SDK and CLI

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
JakeFau
 
Posts: 2
Joined: Fri May 14, 2021 9:02 pm

Go Adafruit SDK and CLI

Post by JakeFau »

I am pleased to announce that the Golang SDK for Adafruit IO has reached basic stability, so I released v0.1.0 on GitHub https://github.com/JakeFAU/goAdafruit

As a part of finding all the bugs I wrote a CLI for Adafruit IO that is also versioned at v0.1.0 is available on GitHub at https://github.com/JakeFAU/goAda/. It is a basic CLI that makes heavy use of the SDK to provide a command line way to manipulate your Adafruit IO objects.

Artifacts are available at https://github.com/JakeFAU/goAda/releases for Linux, Windows and Mac. The CLI is written in Golang (shocker) so feel free to clone it and cross compile into your OS of choice.

For the CLI it will look in ~/.goAda.yaml for two keys IOUSER and IOKEY. These can also be set as environment variables.

Please let me know if you find any bugs or have any feature suggestions.

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Go Adafruit SDK and CLI

Post by brubell »

Sweet, thank you for sharing!

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”