Alex Savin 55e09bf2e7
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
More changes
2025-05-29 16:47:33 -04:00
2025-05-29 14:31:56 -04:00
2025-05-20 15:54:30 -04:00
2025-05-29 16:40:08 -04:00
2025-05-27 22:52:02 -04:00
2025-05-29 10:58:00 -04:00
2025-05-20 16:02:27 -04:00
2025-05-20 15:54:30 -04:00
2025-05-29 16:47:33 -04:00

MySubaru!GO

Is a simple API client to interact with My Subaru service (https://www.mysubaru.com/) via HTTP, written in Go

News

  • v0.0.0-dev First public release on April 11, 2023

Features

  • Simple and chainable methods for settings and request

Installation

# Go Modules
go get git.savin.nyc/alex/mysubaru

Usage

The following samples will assist you to become as comfortable as possible with mysubaru library.

// Import hassky into your code and refer it as `mysubaru`.
import "git.savin.nyc/alex/mysubaru"

Create a new MySubaru connection and get a car by VIN

// Create a MySubaru Client
mysubaru, _ := New()
outback := mysubaru.GetVehicleByVIN("VIN-CODE-HERE")

Start/Stop Lights request

outback.LightsStart()
time.Sleep(30 * time.Second)
outback.LightsStop()
Description
No description provided
Readme 2.1 MiB
Languages
Go 100%