UNPKG

sweden-prayer-times-cli

Version:

Command line tool to get prayer times in Sweden.

50 lines (31 loc) 1.72 kB
# Sweden Prayer Times CLI [![Build Status](https://badgen.net/travis/risan/sweden-prayer-times-cli)](https://travis-ci.org/risan/sweden-prayer-times-cli) [![Test Covarage](https://badgen.net/codecov/c/github/risan/sweden-prayer-times-cli)](https://codecov.io/gh/risan/sweden-prayer-times-cli) [![Greenkeeper](https://badges.greenkeeper.io/risan/sweden-prayer-times-cli.svg)](https://greenkeeper.io) [![Latest Version](https://badgen.net/npm/v/sweden-prayer-times-cli)](https://www.npmjs.com/package/sweden-prayer-times-cli) Command line tool to get prayer times in Sweden based on the data from [Islamiska Förbundet](http://www.islamiskaforbundet.se)'s website. ![Sweden Prayer Times CLI](https://media.giphy.com/media/1xmStRJd8tFbsgEOrL/giphy.gif) ## Installation Install the CLI tool globally: ```bash $ npm install --global sweden-prayer-times-cli ``` ## Usage ```bash $ sweden-prayer-times --help Command line tool to get prayer times in Sweden. Usage $ sweden-prayer-times <city> [date] Arguments - city: The name of the city. - date (optional): The date to retrieve, default to today's date. Examples $ sweden-prayer-times Stockholm $ sweden-prayer-times Uppsala 2018-08-17 ``` ## Related * [sweden-prayer-times](https://github.com/risan/sweden-prayer-times): The JavaScript API for this CLI tool. ## License [MIT](https://github.com/risan/sweden-prayer-times-cli/blob/master/LICENSE) © [Risan Bagja Pradana](https://bagja.net) ## Legal This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by [Islamiska Förbundet](http://www.islamiskaforbundet.se) or any of its affiliates or subsidiaries. This is an independent and unofficial API.