huepi

Crates.iohuepi
lib.rshuepi
version2.0.0
sourcesrc
created_at2024-11-24 12:22:47.513111
updated_at2024-11-24 12:22:47.513111
descriptionRust bindings for the Philips Hue API.
homepagehttps://lucavall.in/
repositoryhttps://github.com/lucavallin/huepi
max_upload_size
id1459202
size435,764
Luca Cavallin (lucavallin)

documentation

README

Rust bindings for the Philips Hue API

This API client, for the Philips Hue API v2, was originaly generated from openhue.io with the OpenAPI Generator project.

Documentation for API Endpoints

Class Method HTTP request Description

AuthApi | authenticate | POST /api | Authenticate BridgeApi | get_bridge | GET /clip/v2/resource/bridge/{bridgeId} | Get bridge BridgeApi | get_bridges | GET /clip/v2/resource/bridge | List bridges BridgeApi | update_bridge | PUT /clip/v2/resource/bridge/{bridgeId} | Update bridge BridgeHomeApi | get_bridge_home | GET /clip/v2/resource/bridge_home/{bridgeHomeId} | Get bridge home. BridgeHomeApi | get_bridge_homes | GET /clip/v2/resource/bridge_home | List bridge homes. DeviceApi | delete_device | DELETE /clip/v2/resource/device/{deviceId} | Delete Device DeviceApi | get_device | GET /clip/v2/resource/device/{deviceId} | Get device DeviceApi | get_devices | GET /clip/v2/resource/device | List devices DeviceApi | update_device | PUT /clip/v2/resource/device/{deviceId} | Update device DevicePowerApi | get_device_power | GET /clip/v2/resource/device_power/{deviceId} | Get device power DevicePowerApi | get_device_powers | GET /clip/v2/resource/device_power | List device powers GroupedLightApi | get_grouped_light | GET /clip/v2/resource/grouped_light/{groupedLightId} | Get grouped light GroupedLightApi | get_grouped_lights | GET /clip/v2/resource/grouped_light | List grouped lights GroupedLightApi | update_grouped_light | PUT /clip/v2/resource/grouped_light/{groupedLightId} | Update grouped light LightApi | get_light | GET /clip/v2/resource/light/{lightId} | Get light LightApi | get_lights | GET /clip/v2/resource/light | List lights. LightApi | update_light | PUT /clip/v2/resource/light/{lightId} | Update light LightLevelApi | get_light_level | GET /clip/v2/resource/light_level/{lightId} | Get light LightLevelApi | get_light_levels | GET /clip/v2/resource/light_level | List light levels. LightLevelApi | update_light_level | PUT /clip/v2/resource/light_level/{lightId} | Update light MotionApi | get_motion_sensor | GET /clip/v2/resource/motion/{motionId} | Get motion sensor. MotionApi | get_motion_sensors | GET /clip/v2/resource/motion | List motion sensors. MotionApi | update_motion_sensor | PUT /clip/v2/resource/motion/{motionId} | Update Motion Sensor ResourceApi | get_resources | GET /clip/v2/resource | List resources RoomApi | create_room | POST /clip/v2/resource/room | Create room RoomApi | delete_room | DELETE /clip/v2/resource/room/{roomId} | Delete room RoomApi | get_room | GET /clip/v2/resource/room/{roomId} | Get room. RoomApi | get_rooms | GET /clip/v2/resource/room | List rooms RoomApi | update_room | PUT /clip/v2/resource/room/{roomId} | Update room SceneApi | create_scene | POST /clip/v2/resource/scene | Create a new scene SceneApi | delete_scene | DELETE /clip/v2/resource/scene/{sceneId} | Delete a scene SceneApi | get_scene | GET /clip/v2/resource/scene/{sceneId} | Get a scene SceneApi | get_scenes | GET /clip/v2/resource/scene | List scenes SceneApi | update_scene | PUT /clip/v2/resource/scene/{sceneId} | Update a scene SmartSceneApi | create_smart_scene | POST /clip/v2/resource/smart_scene | Create a new smart scene SmartSceneApi | delete_smart_scene | DELETE /clip/v2/resource/smart_scene/{sceneId} | Delete a smart scene SmartSceneApi | get_smart_scene | GET /clip/v2/resource/smart_scene/{sceneId} | Get a smart scene SmartSceneApi | get_smart_scenes | GET /clip/v2/resource/smart_scene | List smart scenes SmartSceneApi | update_smart_scene | PUT /clip/v2/resource/smart_scene/{sceneId} | Update a smart scene TemperatureApi | get_temperature | GET /clip/v2/resource/temperature/{temperatureId} | Get temperature sensor information TemperatureApi | get_temperatures | GET /clip/v2/resource/temperature | List temperatures TemperatureApi | update_temperature | PUT /clip/v2/resource/temperature/{temperatureId} | Update temperature sensor ZoneApi | create_zone | POST /clip/v2/resource/zone | Create zone ZoneApi | delete_zone | DELETE /clip/v2/resource/zone/{zoneId} | Delete Zone ZoneApi | get_zone | GET /clip/v2/resource/zone/{zoneId} | Get Zone. ZoneApi | get_zones | GET /clip/v2/resource/zone | List zones ZoneApi | update_zone | PUT /clip/v2/resource/zone/{zoneId} | Update Zone

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open
Commit count: 8

cargo fmt