Closed msedv closed 7 years ago
Thanks for this contribution! I've been considering adding some examples illustrating how to use the API client class so this is a good moment to add some. Give me a couple of days (I'm quite busy ATM) and I'll merge this pull request into master.
Merged. I will change the folder structure with the next commit to move the examples to a separate directory. Thanks!
In class.unifi.php I added a new method extend_guest_validity which does the same than the "extend" button in the guest control of the Unifi controller: extending the validity of the guest with the given ID by 1 day.
The renew.php is a really basic sample which: