T-API Wrapper
This package is the easiest way to interact with the T-API.
Features
-
🚀 Easy to use! -
🎓 From a professional API! -
🎇 Asynchronous -
🎠 Sexy developers (Dialber & Mid)
Install
npm i tokyo-api.ts
All endpoints are from: T-API
Usage
const { Image, Json, Anime } = require('tokyo-api.ts')
Image('supreme', {
"text" "Test"
}).then(buffer => {
// do anything
});
Json('translate', {
"source": "auto",
"target": "fr",
"text": "Hello world."
}).then(object => {
// do anything
});