programmershouse-wrapper
v1.6.1
Published
Official wrapper of ProgrammersHouse api
Downloads
20
Readme
programmershouse-wrapper
Programmers House api official wrapper: https://programmershouse-api.is-an.app
last version: 1.6.1
Install:
npm install programmershouse-wrapper
Example of using:
With .then
//importing package
let programmershouse = require("programmershouse-wrapper")
let joke = programmershouse.joke() //getting joke
joke.then(result => { //getting result
console.log(result) //consoling result
})
With function
//importing package
let programmershouse = require("programmershouse-wrapper")
async function data(){
let joke = await programmershouse.joke() //getting joke
console.log(joke) //doing things with result(there is consoling)
}
data() //using function
NSFW endpoints example
//importing package
let programmershouse = require('programmershouse-wrapper')
let nsfw = programmershouse.hentai("Api key from our discord server: https://discord.gg/gqKbGBWmRz") //getting nsfw(you need key)
nsfw.then(result => {
console.log(result) //consoling result
})
NEW endpoints
Our development
tonumbers:
let programmershouse = require('programmershouse-wrapper')
let numbers = programmershouse.tonumbers("test")
numbers.then(result =>{
console.log(result)
})
toletters:
let programmershouse = require('programmershouse-wrapper')
let text = programmershouse.toletters("630668700416062735|.|")
text.then(result =>{
console.log(result)
})
Ukranian alerts
let programmershouse = require('programmershouse-wrapper')
let json = programmershouse.alerts()
json.then(result =>{
console.log(result)
})
All endpoints
- joke
- eightball
- cats
- dogs
- ukraine
- wanted
- wasted
- ukrmemes
- reversetext
- emojify
- numberfact
- yearsfact
- cosmosfacts
- qrcode
- randomtext
- currentday
- minecraftserver
- mars
- geometrydash
- subreddit
- randomanime
- hug
- cry
- dance
- laugh
- kiss
- pat
- wink
- punch
- hentai
- tonumbers
- toletters
- alerts