Skip to content

Releases: dutchie027/govee-api

Rate Limit Header Inconsistency

11 May 16:29
Compare
Choose a tag to compare

In one place in the doc the headers are referred to as RateLimit-* in the other section of the doc, they're listed as X-RateLimit-*. This addresses the proper name of X-RateLimit-* as returned by their API

New Govee API Headers

11 May 16:26
Compare
Choose a tag to compare

On May 4, 2022, Govee changed the API to have/return different rate headers Official Docs. This change addresses those new headers in lieu of throwing undefined array key warnings

Updated class variable

07 Jan 01:54
4f34241
Compare
Choose a tag to compare

Changed the logging handler to allow for calling outside of the main connect container.

More Gracefully handle Invalid API Keys

09 Jan 00:58
Compare
Choose a tag to compare

Prior to this version the library wasn't handling the Guzzle 401s or the Govee API errors gracefully. Now it will.

Changed the way to call lights and plugs

08 Jan 20:02
Compare
Choose a tag to compare

Overview

Prior to 1.3 you would need to instantiate a connect class and then pass that class to reinstate a plug class or a light class. Now you can simply pass through the class information:

New way:

================
$connect = new Connect(API);
$connect->light()->function();

I've also left the old way working for backwards compatability

Includes Plugs

17 Dec 16:38
Compare
Choose a tag to compare

Added functionality to allow for turning on and off plugs

Changed License

10 Dec 17:11
Compare
Choose a tag to compare

Changed to MIT License

Refactored API Calling

10 Dec 16:58
Compare
Choose a tag to compare

Moved the API call from out of each function to its own function. Also added the ability to begin tracking the rate limits in the headers.