tokyo-api.ts
TypeScript icon, indicating that this package has built-in type declarations

7.1.5 • Public • Published

Discord

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
});

Package Sidebar

Install

npm i tokyo-api.ts

Weekly Downloads

0

Version

7.1.5

License

ISC

Unpacked Size

6.42 kB

Total Files

6

Last publish

Collaborators

  • midowo