0.1.0 • Published 2 years ago

es-api v0.1.0

Weekly downloads
-
License
GPL v3
Repository
github
Last release
2 years ago

es-api

es-api is a wrapper for Enriching Students API, written in TypeScript.

GitHub issues GitHub forks GitHub stars GitHub license

Documentation

You can view the docs here

Installation

Use NPM to install es-api.

npm i es-api

Example

Also view examples

import {EsAPI} from './client'

const api = new EsAPI()

api.status.on('ready', () => {
    api.schoolMessage()
        .then(message => {
            console.log(message);
        })
})

api.login({email: 'EMAIL', password: 'PASS'})

You can also use your token!

import {EsAPI} from './client'

const api = new EsAPI()

api.status.on('ready', () => {
    api.schoolMessage()
        .then(message => {
            console.log(message);
        })
})

api.login({token: 'token'})

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU General Public License v3.0

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago