Skip to content

iamwacko/seamapi-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seam for Rust

dependency status

Control locks, lights, and other internet of things devices with Seam's simple API. Checkout out the documentation or some examples.

Setup

cargo add seamapi-rs

Usage

use seamapi_rs::Seam;

fn main() {
	let seam = Seam::new(None, None).expect("Failed to get key or URL");

	let workspace = seam.workspaces().get().expect("Failed to get");

	println!("{:?}", workspace);
}

Development

This project is written in Rust, so use the latest stable from Rustup.

  • To run tests, run cargo test
  • To build for use cargo build --release

Our tests use a seam sandbox environment given by environment variable SEAM_SANDbOX_API_KEY. If you want to run the tests, you should first create a sandobx workspace on your dashboard.

About

Rust SDK for Seam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages