Skip to content

An unofficial library for the LIFX HTTP API written in Go 💡

License

Notifications You must be signed in to change notification settings

panicpanicpanic/filament

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filament Go Report Card

Filament is an unofficial Go wrapper for LIFX's HTTP API.

Build Status

branch status
develop CircleCI
master CircleCI

Installation

$ go get github.com/panicpanicpanic/filament

How To Use

Authentication

In order to access your LIFX devices, you must first have a valid access token. You can visit the LIFX Cloud page to set one up:

Using your LIFX Access Token in Filament

Once you have an access token, you use Filament like this:

import(
    "github.com/panicpanicpanic/filament"
    "github.com/panicpanicpanic/filament/lifx"
)

client := lifx.Client{
        AccessToken: "someRandomToken"
    }

_, err := filament.SomeMethod(&client)
if err != nil {
    fmt.Println("handle your error")
}

Available Methods

All methods are available in this godoc!

Contributing

Want to contribute? Just fork the repo, make a feature/bug PR and send it over! Just make sure your tests are passing :)

License

MIT

I'm not affiliated with LIFX, but they are fucking awesome, so you should buy their 💡!

About

An unofficial library for the LIFX HTTP API written in Go 💡

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published