hop

Crates.iohop
lib.rshop
version0.1.12
sourcesrc
created_at2020-05-15 00:36:25.668254
updated_at2023-12-18 01:14:21.259485
descriptionRust client library for the Api
homepagehttps://hop.io
repositoryhttps://github.com/hopinc/rs#readme
max_upload_size
id241712
size161,980
Kuba Ellwart (pxseu)

documentation

README

hop

This crate provides a Rust interface to the Hop API.

Installation

Add the following to your Cargo.toml file:

[dependencies]
hop = "0.1.0"

Usage

use hop::{Hop, HopOptions};

let hop = Hop::new_with_options(HopOptions {
    token: Some("your-token".to_string()),
    ..Default::default()
});

let me = hop.users.me().await?;

println!("Hello, {}!", me.user.name);
Commit count: 0

cargo fmt