# [LoL Human Rest APIs](https://api.lolhuman.xyz)

[![NPM version][npm-version-image]][npm-url]
[![NPM Install Size][npm-install-size-image]][npm-install-size-url]
[![NPM downloads][npm-downloads-image]][npm-downloads-url]

A simple Javascript module for website [LoL Human Rest APIs](https://api.lolhuman.xyz).

## Installation

Before install and using this module, please [download and install Node.js](https://nodejs.org/en/download/).

```console
$ npm install lolhuman-api@latest
```

## Usage

```js
const { LoLHuman } = require('lolhuman-api')
const lolhuman = new LoLHuman('YOUR_APIKEY')

lolhuman
    .jadwalSholat('yogyakarta')
    .then((res) => {
        console.log(res)
    })
    .catch((e) => {
        console.error(e.message)
    })
```

[npm-downloads-image]: https://badgen.net/npm/dm/lolhuman-api
[npm-downloads-url]: https://npmcharts.com/compare/lolhuman-api?minimal=true
[npm-install-size-image]: https://badgen.net/packagephobia/install/lolhuman-api
[npm-install-size-url]: https://packagephobia.com/result?p=lolhuman-api
[npm-url]: https://npmjs.org/package/lolhuman-api
[npm-version-image]: https://badgen.net/npm/v/lolhuman-api
