api2-gelbooru

Api gelbooru gravityfalls.booru.org (TypeScript)

Usage no npm install needed!

<script type="module">
  import api2Gelbooru from 'https://cdn.skypack.dev/api2-gelbooru';
</script>

README

Gelbooru API

A API wrapper that reads the HTML of the site and extracts info

This library supports fetching:

  • Posts,
  • List of Posts,
  • tags/characters/parodies/catagories/groups/artists

Install

npm install --save api2-gelbooru

API

const GelbooruAPI = require('api2-gelbooru') 
const api = new GelbooruAPI();
api.post.id(297045).then((post)=> console.log(JSON.stringify(post, null, 2)));