wiresdev-api
v2.0.0
Published
Hello so i decided to make an npm package for my api.
Downloads
3
Readme
Hello so i decided to make an npm package for my api.
Full list of endpoints here https://api.phazed.xyz/.
Syntax is just
const api = require('wiresdev-api');
api.<type>.<endpoint>(function(data){
console.log(data)
})
Example (this pulls a waifu image from the api)
const api = require('wiresdev-api');
api.anime.get('waifu', function(data){
console.log(data)
})
If the api requires a query parameter you can add that before the callback function
const api = require('wiresdev-api');
api.anime.special.charSearch('Nagisa Shiota', function(data){
console.log(data)
})
Here is a list of all the endpoints next to their type and name