Gelbooru API
Docs
v0.0.1
Classes
class: GelbooruSearch
tags: string[]
Tags used for search
paginator: number
Current search result page
createSearch(tags: string[]): GelbooruSearch; Returns new instance of GelbooruSearch
resetPagination(); Resets paginator
hasNext(): boolean; Checks if a next page exists
autocomplete(tag: string): Promise<string[]>; Returns a autocomplete list from Gelbooru
class: GelbooruImage
url: string
URL of post
tags: string[]
Tags associated with post
thumbnailurl: string
URL of thumbnail
id: number
ID of post
class: RequestFactory
new(); Returns new instance of RequestFactory
axios
setProxy(url: string); Sets https proxy forget(url: string): Promise; Makes a get request
post(url: string): Promise; Makes a post request
Features
- Search by tags
✔ - Autocomplete
✔ - Get max pages
- Return all images associated with requested tags with one function
- Return original image additionally to thumbnail
- Cache results with Sequelize in a sqlite3-Database
- Add support for accounts
Notice of Non-Affiliation and Disclaimer
We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with gelbooru.com, or any of its subsidiaries, its affiliates or authors/creators. The official Gelbooru website can be found at Gelbooru
@intimate provides several packages with different tools, that helps developer in their every-day life, by simplifying the work that needs to be done. As necessary, @intimate makes contextual use of the trademarks of Gelbooru to inform the developers about a easy way to get information in various forms from gelbooru.com.
Such use by @intimate in no way indicates any relationship or affiliation of @intimate to Gelbooru or their creators, or any of its subsidiaries, nor does it signify that Gelbooru has licensed, is the source of, endorses, approves of or sponsors the content from @intimate, through this Site or otherwise.
Support & Liability
No support included or liability
CDNs used: Statically