sesame_rs

Crates.iosesame_rs
lib.rssesame_rs
version0.1.3
sourcesrc
created_at2017-07-01 10:57:24.726688
updated_at2017-07-30 07:04:15.944877
descriptionAPI Client for Sesame by CANDY HOUSE, Inc.
homepage
repositoryhttps://github.com/MichaeGon/sesame-rs
max_upload_size
id21437
size14,470
Michae'Gon (MichaeGon)

documentation

README

sesame-rs Build Status Crates.io

Rust Client for Sesame made by CANDY HOUSE, Inc.

Installation

Add this to your Cargo.toml

[dependencies]
sesame_rs = "*"

Usage

extern crate sesame_rs;

use sesame_rs::*;

fn main() {

    // Initialize client
    let client = SesameClient::new();

    // Login to your account
    client.login(email, password).ok();

    for mut sesame in client.list_sesames().unwrap() {
        // Lock your sesame
        sesame.lock().ok();

        // Unlock your sesame
        sesame.unlock().ok();
    }
}

Commit count: 14

cargo fmt