# duncans-api-wrapper

> Simple Api Wrapper

Latest version **1.3.9** (published 2020-04-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install duncans-api-wrapper
pnpm add duncans-api-wrapper
yarn add duncans-api-wrapper
bun add duncans-api-wrapper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.9 |
| Published | 2020-04-17 |
| First published | 2020-04-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | p1zza |
| Maintainers | p1zza |
| Keywords | api, apiwrapper, nodeapi, duncte123 |

## Links

- npm: https://www.npmjs.com/package/duncans-api-wrapper
- npm.io page: https://npm.io/package/duncans-api-wrapper

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0

## Recent versions

- 1.3.9 (latest) — 2020-04-17
- 1.3.8 — 2020-04-13
- 1.3.7 — 2020-04-13
- 1.3.6 — 2020-04-13
- 1.3.5 — 2020-04-13
- 1.3.4 — 2020-04-13
- 1.3.3 — 2020-04-12
- 1.3.2 — 2020-04-12
- 1.3.1 — 2020-04-12
- 1.3.0 — 2020-04-10
- 1.2.9 — 2020-04-10
- 1.2.8 — 2020-04-10
- 1.2.7 — 2020-04-10
- 1.2.6 — 2020-04-10
- 1.2.5 — 2020-04-10
- … 18 more at https://npm.io/package/duncans-api-wrapper/versions

## README

## Information

Simple API Wrapper for https://apis.duncte123.me/

## Installation

Npm:

```bash
npm i duncans-api-wrapper
```

## Declaration

JavaScript:

```js
const { DuncateApi } = require('duncans-api-wrapper');

const api = new DuncateApi();
```

TypeScript (es6):

```ts
import { DuncateApi } from "duncans-api-wrapper";

const api = new DuncateApi()
```

## Usage

### Instagram:
```js
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
```js
const search = await api.randomstring(number)
```
### Use:

| Usage | Result |
| - | - |
|search.data|Random String|

### Love
```js
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
```js
const search = await api.npm(number)
```
### Use:

| Usage | Result |
| - | - |
|search.data|An array of random meanings of "npm"|

### Meme
```js
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
```js
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
```js
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
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.llama()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Llama|

### Cat
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.cat()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Cat|



### Duck
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.duck()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Duck|

### Alpaca
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.alpaca()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Alpaca|

### Seal
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.seal()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Seal|

### Camel
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.camel()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Camel|

### Dog
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.dog()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Dog|

### Fox
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.fox()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Fox|

### Lizard
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.lizard()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Lizard|

### Bird
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.bird()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Bird|

### Wolf
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.wolf()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Wolf|


### Panda
```js
IMAGE MIGHT NOT SHOW ALL DEPENDS ON THE API
const search = await api.panda()
```
### Use:

| Usage | Result |
| - | - |
|search.data.file|Image of Panda|

### Kpop
```js
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|

---
_Source: https://npm.io/package/duncans-api-wrapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
