# codementor-nodejs

> API Wrapper for Codementor.io

Latest version **1.1.2** (published 2018-10-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install codementor-nodejs
pnpm add codementor-nodejs
yarn add codementor-nodejs
bun add codementor-nodejs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2018-10-11 |
| First published | 2018-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 147 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tomás Almeida |
| Maintainers | tommyduarte |
| Keywords | codementor, nodejs, api, wrapper, api |

## Links

- npm: https://www.npmjs.com/package/codementor-nodejs
- Repository: https://github.com/TommyAlmeida/codementor-nodejs
- Homepage: https://github.com/TommyAlmeida/codementor-nodejs#readme
- Issues: https://github.com/TommyAlmeida/codementor-nodejs/issues
- npm.io page: https://npm.io/package/codementor-nodejs

## Dependencies (5)

- [chai](https://npm.io/package/chai.md) ^4.2.0
- [chai-http](https://npm.io/package/chai-http.md) ^4.2.0
- [jscoverage](https://npm.io/package/jscoverage.md) ^0.6.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.2.0
- [mocha-logger](https://npm.io/package/mocha-logger.md) ^1.0.6

## Recent versions

- 1.1.2 (latest) — 2018-10-11
- 1.1.1 — 2018-10-11
- 1.1.0 — 2018-10-11
- 1.0.0 — 2018-10-06

## README

# Codementor NodeJS
[![Build Status](https://travis-ci.org/TommyAlmeida/codementor-nodejs.svg?branch=master)](https://travis-ci.org/TommyAlmeida/codementor-nodejs)
[![Coverage Status](https://coveralls.io/repos/github/TommyAlmeida/codementor-nodejs/badge.svg?branch=master)](https://coveralls.io/github/TommyAlmeida/codementor-nodejs?branch=master)
![I'm a Ninja Developer)](https://img.shields.io/badge/Ninja%20Developer-True-blue.svg)


This is a wrapper for the [Codementor API](https://dev.codementor.io/docs) that runs on Node.JS.

All methods require authentication, which can be done using these flow:

* [Client credentials flow](http://tools.ietf.org/html/rfc6749#section-4.4) (Application-only authentication)
  

## Features 

The library includes the following functions:

  * Scheduled Sessions


## Installation

    $ npm install codementor-nodejs --save


## Usage

```javascript
//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)

---
_Source: https://npm.io/package/codementor-nodejs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
