1.0.10 • Published 4 years ago

@th3shadowbroker/spigotmc.js v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

SpigotMC.js

npm.io npm.io npm.io npm.io

SpigotMC.js is an API wrapper for the XenforoResourceManageAPI. This project is fully open-source.

Using SpigotMC.js in your project

npm install @th3shadowbroker/spigotmc.js or yarn add @th3shadowbroker/spigotmc.js

Dependencies

Axios: This library uses the popular Axios REST client to perform requests to the Spigot API.

Documentation

A full documentation can be found on GitHub Pages.

Usage

import { Spigot } from '@th3shadowbroker/spigotmc.js';

new Spigot().findAuthor("th3shadowbroker")
    .then(author => {
        if (author) {
            console.log(`The authors id is ${author.id}!`);
        } else {
            console.error("Author not found!");
        }
    })
    .catch(error => {
        console.error(error);
    });
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago