snowflake-api
v3.0.5
Published
Official api wrapper for snowflake api.
Downloads
57
Readme
Snowflake API
Official API client for snowflake-api.
Example
const { Client } = require("snowflake-api");
// import Client from "snowflake-api" or import { Client } from "snowflake-api"
const client = new Client("API_KEY");
client.me().then(console.log); // user info
/*
{
user: '480933736276426763',
pro: true,
ratelimits: 5000,
banned: false,
requests: '36',
tokenCreatedTimestamp: 1608371383745,
createdTimestamp: 1606890937906
}
*/