Interface PostsParser

interface PostsParser {
    parse(rawPost: any): BooruPost[];
}

Implemented by

Methods

Methods

  • Parse a raw list of posts from the Booru API into an array of BooruPost objects.

    Parameters

    • rawPost: any

      The raw list of posts from the Booru API.

    Returns BooruPost[]

    An array of BooruPost objects.