mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-11-24 11:10:02 +01:00
.. | ||
ap_scanning_state.php | ||
auth_guest_basic.php | ||
auth_guest_with_note.php | ||
config.template.php | ||
create_voucher.php | ||
extend_guest_auth.php | ||
list_alarms.php | ||
list_ap_connected_users.php | ||
list_site_health.php | ||
list_social_auth_details.php | ||
README.md | ||
toggle_led.php |
API client class usage examples
This directory contains some PHP code examples which demonstrate usage of the PHP API client class and can be used as a good starting point for your own custom code.
Usage
Copy the appropriate example file to your working directory together with a copy of the config.template.php file which should be renamed to config.php. Then update the contents of your new config.php with your controller details and credentials and modify the example file as required to fit your needs.
Contribute
If you would like to share your own example file(s), please open an issue and include your code there or else create a pull request.
Important Disclaimer
Use these examples at your own risk!