TempLI

command module
v0.0.0-...-010652d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

🌦 TempLI ( Temperature + CLI )

An app made to get weather information through the terminal

cloud

Status Badge

Features 🏆

  • Can show
    • Population
    • Latitude
    • Longitude
    • Weather
      • Temperature
      • Humidity
      • Wind Speed
      • Wind Direction
      • Weather Conditions
      • Feels Like Temperature (Apparent temperature based on a combination of factors e.g. humidity, wind speed, solar radiation, wind chill and air pressure)
      • Surface Pressure
      • Sealevel Pressure
      • UV Index
  • Raw JSON output

Building 🔨

  • If you don't want to manually build the app, you can use:

Otherwise, you can build the program yourself by running:

Make sure you have Go installed

go build
  • The executable will be located in the same directory you ran the command from

Usage 💻

  • Example 1:
./weather-Cli get Joinville
__________________________
Searching for city Joinville...

City/Country: Joinville/Brazil
Latitude:  -26.3051
Longitude: -48.8461
Timezone: Santa Catarina/Brazil
Population: 597,658 

Weather Info:
        Temperature: 28.5°
        Wind Direction: 168°
        Wind Speed: 7.0 Km/h
        Weather Condition: Partly Cloudy
        Humidity: 50.00%
        Real Feel: 39.1°
        Surface Pressure: 999.60 hPa
        Sealevel Pressure: 1004.00 hPa
        UV Index: 6
  • Example 2:
./weather-Cli get Tokyo --raw
__________________________
(Returns the same data but in JSON)

Acknowledgments and FAQ 📚

API used: Open-Meteo

Built with: Cobra

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL