1.1.5 • Published 4 years ago
tastischapi v1.1.5
TastischApi
What is this?
A TastischApi helper, to make things simpler to use
Installation
npm install tastischapi --save
Init
const TAPI = require("tastischapi")List
Can show a list of all current commands, because the docs may not be up-to-date.
console.log(TAPI.list)Api docs
This is just a helper, the main api is linked here: http://neotastisch.de
Meme
const result = await TAPI.meme("TOKEN HERE");
console.log(result.link)Cat
const result = await TAPI.cat("TOKEN HERE");
console.log(result.link)Dog
const result = await TAPI.dog("TOKEN HERE");
console.log(result.link)Chat
const result = await TAPI.chat("MSG HERE","TOKEN HERE");
console.log(result.response)Guess
const result = await TAPI.guess("GUESS HERE", "MAX NUMBER HERE","TOKEN HERE");
console.log(result.response)Random string
const result = await TAPI.randomstring("LENGHT HERE","TOKEN HERE");
console.log(result.response)