Expand description
§RustyBook
An ergonomic Facebook client in Rust
§Features
Currently work-in-progress
- Posts
- Videos
- Photos
- Story
- Messages
§Getting started
First you have to initialize a RustyBook client. You can create using default options or use the RustyBook::builder() to customize it.
use rustybook::RustyBook;
// default
let client = RustyBook::new().unwrap();
// builder
let client = RustyBook::builder().build().unwrap();All methods are asynchronous and return a Result type.
§Cargo.toml
[dependencies]
rustybook = "0"§Crate features
Some features in RustyBook are gated behind features that can be enabled in the Cargo.toml file.
cache- A cache layer for storing and retrieving data to avoid duplicate requests.
Structs§
- Rusty
Book - RustyBook is a client for interacting with the RustyBook API.
- Rusty
Book Builder - Builder for creating a RustyBook client.