1.3.9 • Published 4 years ago
duncans-api-wrapper v1.3.9
Information
Simple API Wrapper for https://apis.duncte123.me/
Installation
Npm:
npm i duncans-api-wrapper
Declaration
JavaScript:
const { DuncateApi } = require('duncans-api-wrapper');
const api = new DuncateApi();
TypeScript (es6):
import { DuncateApi } from "duncans-api-wrapper";
const api = new DuncateApi()
Usage
Instagram:
const search = await api.instagram(username)
Use:
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 |
Random String
const search = await api.randomstring(number)
Use:
Usage | Result |
---|---|
search.data | Random String |
Love
const search = await api.love(name, name)
Use:
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 |
Npm
const search = await api.npm(number)
Use:
Usage | Result |
---|---|
search.data | An array of random meanings of "npm" |
Meme
const search = await api.meme()
Use:
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 |
Joke
const search = await api.joke()
Use:
Usage | Result |
---|---|
search.data.title | Title Of Joke |
search.data.body | Body Of Joke |
search.data.url | Url Of Joke |
Youtube
const search = await api.youtube(YoutubeApiKey, ChannelId)
Use:
Usage | Result |
---|---|
search.data.subs | Number Of Subscribers |
search.data.channel | Channel |
search.data.views | Number Of Views |
search.data.videos | Number Of Videos |
Llama
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.llama()
Use:
Usage | Result |
---|---|
search.data.file | Image of Llama |
Cat
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.cat()
Use:
Usage | Result |
---|---|
search.data.file | Image of Cat |
Duck
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.duck()
Use:
Usage | Result |
---|---|
search.data.file | Image of Duck |
Alpaca
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.alpaca()
Use:
Usage | Result |
---|---|
search.data.file | Image of Alpaca |
Seal
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.seal()
Use:
Usage | Result |
---|---|
search.data.file | Image of Seal |
Camel
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.camel()
Use:
Usage | Result |
---|---|
search.data.file | Image of Camel |
Dog
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.dog()
Use:
Usage | Result |
---|---|
search.data.file | Image of Dog |
Fox
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.fox()
Use:
Usage | Result |
---|---|
search.data.file | Image of Fox |
Lizard
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.lizard()
Use:
Usage | Result |
---|---|
search.data.file | Image of Lizard |
Bird
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.bird()
Use:
Usage | Result |
---|---|
search.data.file | Image of Bird |
Wolf
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.wolf()
Use:
Usage | Result |
---|---|
search.data.file | Image of Wolf |
Panda
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.panda()
Use:
Usage | Result |
---|---|
search.data.file | Image of Panda |
Kpop
const search = await api.kpop(name)
or
const search = await api.kpop()
Use:
Usage | Result |
---|---|
search.data.img | Image of Kpop Star |
search.data.band | Band of Kpop Star |
search.data.name | Name of Kpop Star |
1.3.9
4 years ago
1.3.7
4 years ago
1.3.6
4 years ago
1.3.5
4 years ago
1.3.4
4 years ago
1.3.8
4 years ago
1.3.3
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.3.0
4 years ago
1.2.9
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.0.2
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.12
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago