1.0.3 • Published 2 years ago

spiget-api v1.0.3

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

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.

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1-pre2

2 years ago

0.0.1-pre1

2 years ago