Crate libveezi

Crate libveezi 

Source
Expand description

§libveezi

A Rust crate to work with the Veezi API.

§Features

  • Full coverage of Veezi API endpoints
  • Asynchronous requests using reqwest
  • Strongly typed data structures with serde for easy serialization/deserialization

§Installation

Add this to your Cargo.toml:

[dependencies]
libveezi = "0.4.0"

§Usage

use libveezi::VeeziClient;
use libveezi::Session;

let client = VeeziClient::new("api.us.veezi.com", "your_api_key");
let sessions: Vec<Session> = client.get_sessions().await?;

Modules§

attr
Attributes that can be associated with crate::session::Sessions and crate::film::Films
client
The Client for interfacing with the Veezi API
error
Useful error types
film
Types representing screenable films with the Veezi API.
package
Types representing screenable film packages (e.g. double features) with the Veezi API.
screen
A Screen on a specific Veezi crate::site::Site
session
Types representing individual sessions with the Veezi API.
site
A particular site, or screening location.