hinge-rs 0.1.0

Unofficial typed Hinge API client for Rust, with REST, Sendbird chat, and generated OpenAPI docs.
Documentation

hinge-rs

Crates.io docs.rs CI API Reference MSRV License

Unofficial, typed Rust client for Hinge APIs, including Sendbird chat.

hinge-rs is built for correctness-first automation: typed REST calls, typed chat events, safe secret handling, raw escape hatches, and a generated Scalar API reference.

Install

cargo add hinge-rs

Use

use hinge_rs::Client;

#[tokio::main]
async fn main() -> Result<(), hinge_rs::errors::HingeError> {
    let mut client = Client::builder()
        .phone_number("+15555550123")
        .build()?;

    client.auth().initiate_sms().await?;
    client.auth().submit_otp("123456").await?;

    let recs = client.recommendations().get().await?;
    println!("{} feeds", recs.feeds.len());

    Ok(())
}

Covers

  • Hinge auth, profiles, recommendations, likes, ratings, prompts, connections, and settings.
  • Sendbird channels, messages, and WebSocket events.
  • OpenAPI JSON and Scalar docs generated from the crate.

Docs

Status

Early OSS extraction. Unofficial and not affiliated with Hinge, Match Group, or Sendbird.