Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

IngmarStein/miele-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Miele 3rd Party API

Go client for the Miele 3rd Party API

Usage

package main

import (
    "fmt"
    "os"

    "github.com/ingmarstein/miele-go/miele"
)

func main() {
    token := os.Getenv("MIELE_AUTH_TOKEN")
    // You may optionally include your own http client
    client := miele.NewClient(nil, token)
    devices, err := client.ListDevices(miele.ListDevicesRequest{})
    if err != nil {
    	panic(err)
    }
    fmt.Println(devices)
}

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •