Interface SearchParameters

Just an interface for Booru's search params :)

interface SearchParameters {
    credentials?: BooruCredentials;
    limit?: number;
    page?: number;
    random?: boolean;
    showUnavailable?: boolean;
}

Properties

credentials?: BooruCredentials

The credentials to use to auth with the booru

limit?: number

The limit on max posts to show, you might get less posts than this

page?: number

Which page of results to fetch

random?: boolean

Should posts be in random order, implementation differs per booru

showUnavailable?: boolean

Return unavailable posts (ie. banned/deleted posts)