Introduction
Hanime provides you with a Comprehensive documentation for all your needs. All methods were created by reverse-engineering hanime mobile app and website. API responses might change in the future, so make sure to update the library regularly.
Getting Started
Get started by installing hanime as your project dependency:
- npm
- yarn
- pnpm
npm i @nekolab/hanime
yarn add @nekolab/hanime
pnpm i @nekolab/hanime
Next, you can import the library and start using it:
import { HanimeClient } from 'hanime';
const client = new HanimeClient();
const loginResult = await client.login('[email protected]', 'password');
console.log('Logged in as', loginResult.user.name);
Features
Currently, the library supports the following features:
- 👤 Login/password authentication without captcha;
- 📹 Videos search, retrieval and download;
- 💬 Comments retrieval;
- 🏠 Home page retrieval;
- 🪙 Coins retrieval;
- 📺 User and channel retrieval.
Planned Features
Here is the list of features that are planned to be implemented in the future:
- 💬 Comments posting and deletion;
- 🔍 Search, search page, filters;
- 🔥 Trending and seasons pages;
- ✏️ Channel management;
- 🖼️ Media upload to Hanime CDN;
- 👑 Hanime premium purchase.