# lingualeo-api

> Wrapper to provide API for Lingualeo.ru functionality

Latest version **0.0.2** (published 2018-05-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install lingualeo-api
pnpm add lingualeo-api
yarn add lingualeo-api
bun add lingualeo-api
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-05-08 |
| First published | 2017-11-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | vvscode |
| Maintainers | vvscode |
| Keywords | api, lingualeo |

## Links

- npm: https://www.npmjs.com/package/lingualeo-api
- Repository: https://github.com/vvscode/js--lingualeo-api
- Homepage: https://github.com/vvscode/js--lingualeo-api#readme
- Issues: https://github.com/vvscode/js--lingualeo-api/issues
- npm.io page: https://npm.io/package/lingualeo-api

## Dependencies (1)

- [superagent](https://npm.io/package/superagent.md) 3.8.0

## Recent versions

- 0.0.2 (latest) — 2018-05-08
- 0.0.1 — 2017-11-08

## README

# Lingualeo.ru API

Small wrapper for Lingualeo.ru. 

Thus Lingualeo has no public API - it's just a number of functions, which allow to do some stuff. More information might be found at sources of [Lingualeo Chrome Addon](https://chrome.google.com/webstore/detail/lingualeo-english-transla/nglbhlefjhcjockellmeclkcijildjhi?utm_source=chrome-ntp-icon)

***Usage example:***

```javascript
lingualeoApi
  .login(email, password)
  // .then(data => console.log("Login:", util.inspect(data)))
  .then(_ => lingualeoApi.getTranslates(WORD))
  .then(data => {
    console.log(`Translates for ${WORD}`, util.inspect(data));
    return data;
  })
  .then(list => lingualeoApi.addWord(WORD, list[0].value))
  .then(data => console.log("addWord", util.inspect(data)))
  .catch(err => console.error("Error", err));
```

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