hentaihaven

API for accessing hentaihaven.org

Usage no npm install needed!

<script type="module">
  import hentaihaven from 'https://cdn.skypack.dev/hentaihaven';
</script>

README

HentaiHaven API

This package access hentaihaven's undocumented API

NOTE: due to hentaihaven's rather dead status, this package may not remain supported for long

Usage

const { HentaiHavenAPI } = require('hentaihaven');

const api = new HentaiHavenAPI();

const search = await api.search('query');

const video = search.results[0];
const video_image = await api.get_video_image(video);
const video_series = await api.get_video_series(video);