Skip to content

kubawajs/WeatherApiBashClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Weather Api Bash Client for apixu.com

AUTHOR:

Jakub Wajs 2017

NAME:

Weather Api Bash Client for apixu.com - script for downloading the weather data for chosen location (from https://www.apixu.com/) and print it in terminal.

SYNOPSIS:

./weather.sh [OPTION]...

CONFIGURATION:

Replace phrase APIXUKEY by your own generated key. You can do it for free at https://www.apixu.com/

OPTIONS:

  • -l [CITY] determines the location for which weather data should be displayed. Default location is set to Poznan.

    eg. ./weather.sh -l London

  • -d (dynamic update) automatically updates weather data every 5 minutes and displays it. The script works until the SIGINT signal is sent.

    eg. ./weather.sh -d

  • -f shows data in american scales (eg. temperature in Fahrenheit)

    eg. ./weather.sh -f

DESCRIPTION:

The script downloads weather data from apixu.com and saves it in temporary file. Then weather info is displayed in the terminal. Data is updated every 5 minutes (when script is running, eg. with -d option) or at the script start.

About

Weather Api Bash Client for apixu.com - script for downloading the weather data for chosen location (from https://www.apixu.com/) and print it in terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages