Commit Graph

26 Commits

Author SHA1 Message Date
a7fab72a1e
Use functional options for the client constructor 2021-02-11 09:16:24 -06:00
b643635cf4
Make the user agent configurable 2021-02-10 22:16:15 -06:00
e373e7e273
add error helpers 2020-04-05 18:54:40 -05:00
cc19b87e39
add Response struct, populate rate limit struct 2020-04-04 12:18:13 -05:00
676eabb0cb
rename project to lume 2020-03-28 14:31:10 -05:00
6afe13812a
fix variable name 2020-03-26 02:16:08 -05:00
73a666a216
make method naming more consistent 2020-03-07 20:06:22 -06:00
05566f480f
add SetDelta function 2020-03-07 20:02:37 -06:00
e39d81f6cc
add ListLights function 2020-03-06 23:00:21 -06:00
40a7a9d741
refactor client class again 2020-03-06 20:55:31 -06:00
f58f523d35
handle HTTP statuses 2020-03-06 01:28:12 -06:00
43465c6ae9
extended response struct 2020-03-06 01:27:46 -06:00
888f29383e
add User-Agent header 2020-03-01 11:27:26 -06:00
0427121975
add proper Content-Type header 2020-03-01 11:23:59 -06:00
de4a4a8643
restructured client 2020-02-29 23:15:39 -06:00
37d3179662
move client structs 2020-02-29 15:57:32 -06:00
1c99d42224
separete light API 2020-02-29 15:56:03 -06:00
821bd26595
change variable name 2020-02-29 13:05:07 -06:00
abc9e0a978
add new color structs 2020-02-29 12:54:56 -06:00
ad8315668e
change token variable names 2020-02-29 00:43:32 -06:00
0ccbc0aec6
added more error handling 2020-02-29 00:38:53 -06:00
ed55cc3fbf
handle 404 errors 2020-02-29 00:09:06 -06:00
2fbfe9cae8
add SetState method 2020-02-29 00:08:39 -06:00
cd04dd47b6
remove unnecessary pointers 2020-02-29 00:07:32 -06:00
c0c49b6d7c
use struct for toggle endpoint 2020-02-28 22:14:55 -06:00
e05efa9d57
rename Session struct to Client 2020-02-28 21:56:33 -06:00