An open API service indexing awesome lists of open source software.

https://github.com/jmtellez/cli-mate

Node CLI app that gives you the weather forecast for a given city.
https://github.com/jmtellez/cli-mate

cli cli-mate hacktoberfest javascript nodejs

Last synced: about 1 year ago
JSON representation

Node CLI app that gives you the weather forecast for a given city.

Awesome Lists containing this project

README

          

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/jmtellez/Weather-CLI/issues) 

# CLI-mate :sunrise:

Command Line application that gives you the weather info for a given `city/place/address/airport code` :sunny:

![usage](img/usage.png)

**Install**
```bash
npm install -g @jmt3559/cli-mate
```

On your terminal export these two environment variables:

**Zsh**
```bash
echo 'export MAPBOX=API_KEY' >> ~/.zprofile

echo 'export WEATHERSTACK=API_KEY' >> ~/.zprofile
```

**Bash**
```bash
echo 'export MAPBOX=API_KEY' >> ~/.bash_profile

echo 'export WEATHERSTACK=API_KEY' >> ~/.bash_profile
```

## Get API Keys
### [Weatherstack](https://weatherstack.com/) - 1k free requests per month

### [Mapbox](https://docs.mapbox.com/) - 100K free requests