Simple API Wrapper for https://apis.duncte123.me/
Npm:
npm i duncans-api-wrapper
JavaScript:
const { DuncateApi } = require('duncans-api-wrapper');
const api = new DuncateApi();
TypeScript (es6):
import { DuncateApi } from "duncans-api-wrapper";
const api = new DuncateApi()
const search = await api.instagram(username)
Usage |
Result |
search.user.username |
Username of Instagram Account |
search.user.full_name |
Full Name of Instagram Account |
search.user.is_private |
Wether account is private or not |
search.user.is_verified |
Wether account is verified or not |
search.user.biography |
Biography of Instagram Account |
search.user.followers.count |
Number of followers of Instagram Account |
search.user.following.count |
Number of accounts user is following |
search.user.uploads.count |
Number of posts of Instagram Account |
search.user.profile_pic_url |
Profile picture of Instagram Account |
const search = await api.randomstring(number)
Usage |
Result |
search.data |
Random String |
const search = await api.love(name, name)
Usage |
Result |
search.data.names |
Both Names |
search.data.score |
Love Score |
search.data.score_int |
Number of Love Score |
search.data.message |
Love message |
const search = await api.npm(number)
Usage |
Result |
search.data |
An array of random meanings of "npm" |
const search = await api.meme()
Usage |
Result |
search.data.title |
Title Of Meme |
search.data.body |
Body Of Meme |
search.data.url |
Url Of Meme |
search.data.image |
Image Url Of Meme |
const search = await api.joke()
Usage |
Result |
search.data.title |
Title Of Joke |
search.data.body |
Body Of Joke |
search.data.url |
Url Of Joke |
const search = await api.youtube(YoutubeApiKey, ChannelId)
Usage |
Result |
search.data.subs |
Number Of Subscribers |
search.data.channel |
Channel |
search.data.views |
Number Of Views |
search.data.videos |
Number Of Videos |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.llama()
Usage |
Result |
search.data.file |
Image of Llama |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.cat()
Usage |
Result |
search.data.file |
Image of Cat |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.duck()
Usage |
Result |
search.data.file |
Image of Duck |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.alpaca()
Usage |
Result |
search.data.file |
Image of Alpaca |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.seal()
Usage |
Result |
search.data.file |
Image of Seal |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.camel()
Usage |
Result |
search.data.file |
Image of Camel |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.dog()
Usage |
Result |
search.data.file |
Image of Dog |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.fox()
Usage |
Result |
search.data.file |
Image of Fox |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.lizard()
Usage |
Result |
search.data.file |
Image of Lizard |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.bird()
Usage |
Result |
search.data.file |
Image of Bird |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.wolf()
Usage |
Result |
search.data.file |
Image of Wolf |
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.panda()
Usage |
Result |
search.data.file |
Image of Panda |
const search = await api.kpop(name)
or
const search = await api.kpop()
Usage |
Result |
search.data.img |
Image of Kpop Star |
search.data.band |
Band of Kpop Star |
search.data.name |
Name of Kpop Star |