0

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.
Please be positive and constructive with your questions and comments.

Go Adafruit SDK and CLI

by JakeFau on Sat Jun 19, 2021 3:15 pm

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.

JakeFau
 
Posts: 2
Joined: Fri May 14, 2021 9:02 pm

Re: Go Adafruit SDK and CLI

by brubell on Mon Jun 21, 2021 10:09 am

Sweet, thank you for sharing!

brubell
 
Posts: 1417
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.