pub struct Client { /* fields omitted */ }
Fetch an individual comment by ID.
Fetch a filter by its ID.
Fetch the list of system filters.
Fetch the list of user-level filters.
On every new site event, call methods on the callback. Explode if the callback explodes.
Here is an example Adaptor implementation:
use async_trait::async_trait;
use furbooru::*;
struct Adaptor;
#[async_trait]
impl furbooru::FirehoseAdaptor for Adaptor {
async fn image_created(&self, img: Image) -> Result<()> {
println!("new image: {} {} {}", img.id, img.name, img.view_url);
Ok(())
}
async fn comment_created(&self, cmt: Comment) -> Result<()> {
println!("new comment on image {}: {}", cmt.image_id, cmt.body);
Ok(())
}
}
Get details about an individual forum by ID.
Get information about the currently featured image.
Get information about an image by ID.
Search for images that match a set of tags.
Upload an image to the booru.
Test this call with a custom instance of philomena. Abuse of this call will
likely result in a ban from the booru you are posting things to.
Fetches a forum post by ID.
Fetches page n of posts in a thread in a forum.
Get information about a user’s profile by ID.
Create a new client targeting Furbooru.
Create a new client targeting Derpibooru.
Create a new client targeting any server you want.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,