canapi-stdweb 0.1.0

Fetch your APIs in the browser
docs.rs failed to build canapi-stdweb-0.1.0
Please check build logs and if you believe this is docs.rs' fault, report into this issue report.

Canapi-StdWeb

Fetch implementation for WASM projects.

use canapi_stdweb::WebFetch;

use my_api;

fn main() {
    let user = my_api::users.get::<WebFetch>(1).expect("fetch user");
    println!("{:?}", user);
}