1.0.7 • Published 2 years ago

nertivia-api-wrapper v1.0.7

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

Nertivia API wrapper

A library for working with Nertivia API

Token

To get user token: 1. Open devtools (ctrl + shift + i) 2. Go to the Console tab 3. Type localStorage.getItem("hauthid")

To get bot token: 1. Go to Settings 2. Go to Manage Bots tab 3. Click on bot of your choice 4. Under Manage Token click Copy Token button

Usage

  1. Install the package using npm i nertivia-api-wrapper
  2. Copy this code:
const nertiviaAPI = require("nertivia-api-wrapper");
const client = new nertiviaAPI("token");

client.user.get().then(res => res.json()).then(console.log);

You'll find more usage examples in the tests folder

1.0.7

2 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

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