Crate vndb_rs

Source
Expand description

§vndb_rs

Bare-bones VNDB api

§Example

use std::net::TcpStream;
use vndb_rs::{
  API_URL,
  sync::client::Client,
};

let mut client = Client::new(TcpStream::connect(API_URL).unwrap());
let response = client.login();
println!("{:#?}", response);
let response = client.get_dbstats();
println!("{:#?}", response);

Modules§

common
VNDB struct definitions
sync
Sync connection implementation

Constants§

API_URL
API_URL_SSL