A JS API for SpookVooper
Go to file
dependabot[bot] 8f3fc4789d
Bump axios from 0.21.0 to 0.21.1
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-10 04:20:52 +00:00
.github Create codeql-analysis.yml 2020-12-09 11:27:47 -05:00
.vscode 💻 Sync with local 2020-12-15 00:41:13 -05:00
src 🩹 Fix even more stupid 2020-12-24 14:37:39 -05:00
typings 🩹 Fix even more stupid 2020-12-24 14:37:39 -05:00
.eslintrc.json 💻 New sync 2020-12-08 15:50:31 -05:00
.gitignore 🩹 Fix gitignore + version number 2020-12-22 11:33:33 -05:00
LICENSE 💻 Sync with local 2020-12-16 00:42:08 -05:00
README.md Update README.md 2020-11-27 19:31:00 -05:00
SECURITY.md updated Bryce Bauer's email 2020-12-23 20:33:41 -06:00
package-lock.json Bump axios from 0.21.0 to 0.21.1 2021-01-10 04:20:52 +00:00
package.json Bump axios from 0.21.0 to 0.21.1 2021-01-10 04:20:52 +00:00
routes.md 📲 Update to v1.2.0-Stable (Axios) 2020-11-08 18:11:34 -05:00
tsconfig.json 💻 Sync with local 2020-12-15 00:41:13 -05:00

README.md

SpookVooper API Library

Library that is used to easily access the SpookVooper API.

Usage

We use ES6 modules, because CommonJS makes me want to cry. If anything returns a JSON object, you need to use it as an array.

Example Script:

import svAPI from "spookvooperapi";
let a;

// Get the balance of SpikeViper, and save it to a variable, then console.log it with a prefix
svAPI.eco.getBalance("2a0057e6-356a-4a49-b825-c37796cb7bd9", true).then(value => {
    a = value;
    console.log(`Spike's Balance: ${a}`);
});

The value variable is what the function returns as a result. It gets passed to the callback function where you can use it.

The wiki is getting worked on constantly, but it will take a while so in the meantime, you can use the inline wiki. To use this feature we recommend people use Visual Studio Code.

Supported Routes

We support all the routes. We even made some in premade.

  • Auth
  • User
  • Group
  • Eco
  • Premade