Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.53 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.53 KB

logo

bravia-api-rs

github crates.io docs.rs build status
Rust wrapper for Sony Bravia APIs.
This project is unofficial and not related in any way to Sony.

Usage

Add the following to your Cargo.toml:

[dependencies]
bravia_api = "0.1"

Then you can use it like this:

let bravia = Bravia::new("ADDRESS", Some("PASSWORD")).await?;

bravia.service_name().api_name().await?;

where:

  • "ADDRESS" is the address of your server
  • "PASSWORD" is optional and only needed when the authentication level is not "None"

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.