Create a new REST API client instance.
Access token issued by Wonderlabs.
Execute a manual scene.
Response of the scene exceution (an empty object at the moment).
Get a list of devices.
List of decices managed by your SwitchBot account.
Get the status of a physical device.
ID of the device you want to get the status of.
Status of the specified physical device.
Get a list of scenes.
List of scenes managed by your SwitchBot account.
Send a command to manipulate a physical or infrared device.
ID of the device to be controlled.
Command to send.
Response of the command exceution (an empty object at the moment).
Generated using TypeDoc
The REST API client class.
This class manipulates SwitchBot devices and infrared appliances using RESTful API.