@zerok-cell/anilibria_api_wrapper
v1.0.6
Published
Library for interacting with the anilibria api
Readme

Anilibria API Wrapper 🎉🎉🎉
Anilibria API Wrapper — это легковесная TypeScript/ЯваScript библиотека для взаимодействия с API Anilibria. Она предоставляет удобные функции для получения информации о релизах, поиска аниме и многого другого. 🌟🌟🌟
🚀 Установка 🛠️🛠️🛠️
🔹 Через npm:
npm install @zerok-cell/anilibria_api_wrapper🔹 Через yarn:
yarn add @zerok-cell/anilibria_api_wrapper🔍 Доступные Обьекты и методы 📚
User:An object for authorization and obtaining a user token.
const user = new User("Login", "Password")
const authUser = user.authorize().then(response => {
console.log(response)
}) Password: Object for changing password.
const example = async () => {
const user = new User("Login", "Password")
const password = new Password()
const auth = await user.authorize()
const swapPassword = password.swapPasswordWithUseToken(user.tokenGet,
"NewPassword",
"RepeatNewPassword") // swapPasswordWithUseToken changes your password via access token
const email = password.sendEmail("[email protected]") // Send your mail from reset password
}- There are still many objects, so documentation will be written for them in the future. In the meantime, you can use it yourself, JsDoc is written for each function and object.
