2.0.0 • Published 3 years ago

wiresdev-api v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

2.0.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago