# argoapi

> A nodejs module made for comunicate with Argo API

Latest version **1.0.5** (published 2019-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install argoapi
pnpm add argoapi
yarn add argoapi
bun add argoapi
```

## 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.0.5 |
| Published | 2019-01-12 |
| First published | 2018-11-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 42.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Ceereals |
| Maintainers | ceereals |
| Keywords | argo, scuolanext, didup, argo api, scuolanext api |

## Links

- npm: https://www.npmjs.com/package/argoapi
- Repository: https://github.com/Ceereals/ArgoAPI-NodeJS
- Homepage: https://github.com/Ceereals/ArgoAPI-NodeJS#readme
- Issues: https://github.com/Ceereals/ArgoAPI-NodeJS/issues
- npm.io page: https://npm.io/package/argoapi

## Dependencies (3)

- [jquery](https://npm.io/package/jquery.md) ^3.3.1
- [xmlhttprequest](https://npm.io/package/xmlhttprequest.md) ^1.8.0
- [jsdom-no-contextify](https://npm.io/package/jsdom-no-contextify.md) ^3.1.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-01-12
- 1.0.4 — 2019-01-09
- 1.0.3 — 2019-01-09
- 1.0.2 — 2019-01-09
- 1.0.1 — 2018-11-05
- 1.0.0 — 2018-11-05

## README

# ArgoAPI-NodeJS #

> A simple npm module that allows you to communicate with ScuolaNext Argo's API

[![npm version badge](https://img.shields.io/npm/v/sinopia.svg)](https://www.npmjs.com/package/argoapi)

## Install

```bash
npm i argoapi
```

## Usage

### With .then() clause
```javascript
const ArgoAPI = require('argoapi')

ArgoAPI.login('school code','username','password')
    .then(message => {
    //successfull message
    })
    .catch(err => {
        //error message
    })

```
### With async/await method
```javascript
const ArgoAPI = require('argoapi')

//inside an async function
try {
    await ArgoAPI.login('school code','username','password')
} catch(e) {
    console.log(e)
}
```
## Documentation
For [docs](DOCS.md) see the DOCS.md file.
## License

[MIT](http://vjpr.mit-license.org)

[npm-image]: https://img.shields.io/npm/v/live-xxx.svg
[npm-url]: https://npmjs.org/package/live-xxx

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