Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SC Network Public API

What is this?

This package is built to allow us to fetch publicly available information from users registered in the SC Network Dashboard. We also support fetching data from BetterGlobal.

Should I use this?

Probably not, we only use this module in our systems and won't provide support for using it.

Usage

Run: npm i --save @scnetwork/api

constapi=require('@scnetwork/api');// Get an array of all users who have autoSync enabledconsole.log(awaitapi.getAutoSyncMembers())// Get an user by IDconsole.log(awaitapi.getUser('413429490342035466'))// --- BetterGlobal ---// Get a guild by IDconsole.log(awaitapi.getBetterGlobalGuild('489786377261678592'))// Get a user by IDconsole.log(awaitapi.getBetterGlobalUser('413429490342035466'))

© Simon Csaba, 2021

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages