Expand description
Asynchronous wrapper for the WriteFreely/Write.as API, as the existing library is no longer maintained
Provides an implementation of the WriteFreely API. Currently, this library supports the following API features:
- Token & Username/Password authentication
- Most post management endpoints
- All collection endpoints
- All user endpoints except channels
Modules§
- api_
client - This module contains the main [Client] struct, which provides access to all of the other types & methods.
- api_
handlers - This module provides wrappers for top-level (ie, not referencing a specific entity) API methods
- api_
models - This module provides API model definitions & associated methods.
- api_
wrapper - Provides convenience functions for HTTP requests & serialization
Structs§
- Client
- Main Client struct
- Collection
- A struct describing a single Collection entity
- Post
- Main struct describing a single Post
- User
- Base User model
Enums§
- ApiError
- The main Error enum for this library
- Auth
- The desired authentication method
- Collection
Visibility - Enum describing a collection’s visibility
- Post
Appearance - Enum describing the appearance/font of a post