# sasaki-api

> A javascript library that makes interacting with the SasakiApi easier

Latest version **1.1.3** (published 2021-02-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install sasaki-api
pnpm add sasaki-api
yarn add sasaki-api
bun add sasaki-api
```

## 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.1.3 |
| Published | 2021-02-08 |
| First published | 2021-02-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | vincxnt2 |
| Maintainers | vincxnt2 |
| Keywords | gif, sasaki, wrapper, api |

## Links

- npm: https://www.npmjs.com/package/sasaki-api
- Homepage: https://github.com/Vincxnt2/sasaki-api/
- npm.io page: https://npm.io/package/sasaki-api

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.21.1

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.1.3 (latest) — 2021-02-08
- 1.1.2 — 2021-02-08
- 1.1.1 — 2021-02-08
- 1.1.0 — 2021-02-08
- 1.0.2 — 2021-02-08
- 1.0.1 — 2021-02-08
- 1.0.0 — 2021-02-08

## README

# Sasaki Api
A javascript library that makes interacting with the SasakiApi (WebApi) easier

## Installation
`npm install sasaki-api`

## Examples

### with Discord 
- [WithDiscordReadMe](https://github.com/Vincxnt2/sasaki-api/blob/master/examples/WithDiscord.md)
```js
const { Client, MessageEmbed } = require('discord.js');
const { ImageClient } = require('sasaki-api');
const client = new Client();
const imgClient = new ImageClient();

client.on('ready', () => console.log("Ready"));
client.on('message', async (message) => {
  if(message.content.toLowerCase() === "!stone") {
    const img = await imgClient.getImage(stone);
    message.channel.send(new MessageEmbed()
      .setImage(img)
    )
  }
})
client.login("YOUR_SECRET_BOT_TOKEN");
```

## Support
Add Vincxnt#6969 on Discord or join the official [discord server](https://discord.com/invite/GCvuQ9j)

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