0.2.4 • Published 2 years ago
serenys v0.2.4
About
This is a powerful and official Node.js module that allows you to easily interact with the Serenys API.
- Object-oriented
- Performant
- 100% coverage of the Serenys API
Installation
Node.js 16.9.0 or newer is required.
npm install serenys
yarn add serenys
pnpm add serenys
Example usage
Get a discord user's information:
import { Serenys } from 'serenys';
const client = new Serenys();
try {
const data = await client.discord.users.get('299262860440371202');
console.log(data);
} catch (error) {
console.error(error);
}
Get a Instagram user's information:
import { Serenys } from 'serenys';
const client = new Serenys();
try {
const data = await client.instagram.users.get('hhh.e_c.v');
console.log(data);
} catch (error) {
console.error(error);
}
Links
Help
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Serenys Server.