New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

chatwind.js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

chatwind.js

Official RESTful Node.js API Wrapper to interact with the Chatwind API

unpublished
latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

chatwind.js


Official RESTful Node.js API Wrapper to interact with the Chatwind API



NPM version NPM downloads Dependencies Repository view count


npm installnfo

Usage

Add the package

To start, you will need to add the package. To do that, simply run npm i chatwind.js. In your code, add the following:

const chatwind = require("chatwind.js");

Now you can use any of the functions below! All of the function return a Promise (just an FYI).

Getting a user's information

chatwind.user("USERNAME").then(result => console.log(result));

The code above should return a 200 OK message. (JSON)

Check if a custom meeting code is valid

chatwind.customcode("CODE").then(result => console.log(result));

The code above should return a 200 OK message. (JSON)

Get the statistics for Chatwind

chatwind.stats().then(result => console.log(result));

The code above should return a 200 OK message. (JSON)

Unmentioned feature

If this package does not have a function for a certain API endpoint, we have a function that lets you easily interact with any endpoint!

chatwind.api("PATH", "METHOD").then(result => console.log(result));

This will return a JSON from the endpoint specified.

Note: "PATH" is the endpoint (e.g users/milanm), and "METHOD" is the HTTP method (e.g POST).

Keywords

chatwind

FAQs

Package last updated on 01 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts