1.1.2 • Published 6 years ago
codementor-nodejs v1.1.2
Codementor NodeJS
This is a wrapper for the Codementor API that runs on Node.JS.
All methods require authentication, which can be done using these flow:
Client credentials flow (Application-only authentication)
Features
The library includes the following functions:
- Scheduled Sessions
Installation
$ npm install codementor-nodejs --save
Usage
//Get the npm package
const CodementorApi = require('codementor-nodejs');
//Create a new instance of the CodementorApi with your api key
const codementor = new CodementorApi("your_api_key");
Methods
- confirmSession(scheduled_session_api)
- declineSession(scheduled_session_api)
- rescheduleSession(scheduled_session_api)