0.6.3 • Published 8 months ago
nekosapi v0.6.3
Async wrapper for Nekos API
- Supports NekosAPI v1 and v3
- Axios
- Proxy support
Documentation
Quick overview
Import NekosAPI v3:
// TypeScript
import NekosAPI from "nekosapi";
// JavaScript
const { NekosAPI } = require("nekosapi");
const api = new NekosAPI();
api.getRandomImage("Catgirl")
.then(image => console.log(image));
Import NekosAPI v1:
const { NekosAPIv1 } = require("nekosapi");
// Or using /v1 path
const { NekosAPI } = require("nekosapi/v1");
// Or using default export in /v1 path
import NekosAPI from "nekosapi/v1";
// The constructor accepts a token
const api = new NekosAPI();
// Returns NekosImage object
api.getRandomImage("Catgirl")
.then(image => console.log(image));
Source code
0.6.3
8 months ago
0.6.2
8 months ago
0.6.1
11 months ago
0.6.0
11 months ago
0.5.3
11 months ago
0.5.2
1 year ago
0.4.4-4
1 year ago
0.4.4-3
1 year ago
0.4.4-2
1 year ago
0.4.4-1
1 year ago
0.4.4-8
1 year ago
0.4.4-7
1 year ago
0.4.4-6
1 year ago
0.4.4-5
1 year ago
0.5.0
1 year ago
0.4.4-0
1 year ago
0.4.1
1 year ago
0.4.0
1 year ago
0.4.3
1 year ago
0.5.1
1 year ago
0.3.3
1 year ago
0.3.0
2 years ago
0.3.2
2 years ago
0.3.1
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago