Crate writefreely_client

Source
Expand description

WriteFreely API library for Rust

This library is an opinionated API client for the WriteFreely API. While it mostly follows the REST API, it abstracts away, or changes a few things, for the sake of convenience.

Start at struct.Client to discover what the crate provides.

The library targets the latest release of WriteFreely (0.15.0 as of this writing). Support for previous releases are available when compiled with the writefreely-0.14 feature flag.

Modules§

collections
Types for creating, updating, and working with Collections on a WriteFreely instance.
error
The library tries its best to map error codes to sensible types, listed below. Functions that return a Result, will always have Error as the error type.
post
Types for creating, updating, and otherwise working with posts on a WriteFreely instance, anonymous and collection posts alike.
posts
Types for creating, updating, and working with Posts on a WriteFreely instance. Supports both anonymous and logged in users.

Structs§

Client
The main entry point of the library: a client for the WriteFreely API.
ClientApi
Low-level API helpers.
Timestamp
Custom, relaxed date & time format.