Alex Savin 810c340736
All checks were successful
Testing / test (1.23.x, ubuntu-latest) (push) Successful in 20s
Added missing workflow step
2025-02-03 16:41:56 -05:00
2025-02-03 16:40:26 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:40:26 -05:00
2025-02-03 16:41:56 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00
2025-02-03 16:30:36 -05:00

Meater!Go

Is a simple API client to interact with MEATER Cloud REST API service (https://public-api.cloud.meater.com) via HTTP, written in Go

News

  • v1.0.0 First public release on April 25, 2023

Features

  • Simple and chainable methods for settings and request

Installation

# Go Modules
go get github.com/alex-savin/go-meater

Usage

The following samples will assist you to become as comfortable as possible with Meater!Go library.

// Import Meater!Go into your code and refer it as `meater`.
import "github.com/alex-savin/go-meater"

Create a new Meater connection

// Create a Meater API Client
client, _ := meater.New(
	meater.Username("username"),
	meater.Password("password"),
	meater.LogLevel("log"),
)

Looping over active probes

if len(client.GetProbes()) > 0 {
	for i, probe := range client.GetProbes() {
		fmt.Printf("PROBE #%d: %+v\n", i+1, probe)
		fmt.Printf("COOK  #%d: %+v\n", i+1, probe.Cook)
	}
} else {
    fmt.Print("No active probes are detected\n")
}
Description
No description provided
Readme 117 KiB
Languages
Go 100%