0.1.2 • Published 3 years ago

dbos.api v0.1.2

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

DBOS.api

You can get all the objects from the API headers

GET

Global

Users

(API header - https://dbos.ga/api/(serverid/global)/u/userId)

const dbos = require("dbos.api");
const guild = await dbos.get.guild._info(msg.guild.id);

console.log(guild.name)

Guilds

(API header - https://dbos.ga/api/global/s/(serverid))

const dbos = require("dbos.api");
const req = await dbos.get.user._info(msg.author.id, ''); // Second arg for a server user

console.log(req.username)
0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago