Re:Philips Hue API Hacking
by masklinn on Wednesday December 12, 2012 @06:48AM
(#4909624)
And setState should probably take kwargs rather than a dict of arguments. Might also be cool to use a context manager for a "complex send" e.g.
which would only send the whole request at once in __exit__, as in "transactional" APIs.
[ Parent
| on HN ]