tokyo-api.js

0.0.1 • 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.js

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

7.37 kB

Total Files

5

Last publish

Collaborators

  • ytygrunn1ngark456