Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

mmilanovic4/go-grab-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenWeather client

A simple OpenWeather API client built in Go for learning purpose.

Download and build:

git clone https://github.com/mmilanovic4/go-grab-weather.git
cd go-grab-weather
go build ./main.go

Set up your .envrc:

First you'll need to generate your API key on OpenWeather. After that, you'll need to store it in your .envrc file:

echo export OPEN_WEATHER_API_KEY=1234567890 > .envrc
direnv allow
echo $OPEN_WEATHER_API_KEY

Run:

clear && ./main -q Belgrade
clear && ./main -q "Los Angeles"

About

A simple OpenWeather API client built in Go for learning purpose.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages