Skip to content

VeguiDev/spiget-api

Repository files navigation

SPIGET Logo

Spiget API Client (Spigot API)

NPM VERSION DOWNLOADS LICENSE BUILD Codacy Badge Codacy Badge

This library allows you to interact with the Spigot API (Spiget), to obtain authors, categories and resources (Plugins).

Table of Contents:

Quickstart

Installing the client librery...

npm install spiget-api

Import the library...

import SpigetAPI from 'spiget-api';
// or
const SpigetAPI = require('spiget-api');

// Instance this

const api = new SpigetAPI("agent_name");

Or if you using in the browser

<script src="https://unpkg.org/spiget-api@latest/dist/spiget-api.umd.min.js"></script>

<script>
    let api = new spigetapi("agent_name"); // To instance
</script>

Get array of resources...

let resources = await api.getResources();

Contributing

To contribute this is the repository of this package.

About

Its a Spiget API REST Library for Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published