Skip to content

Tracking the weather in major Moroccan cities with Go

Notifications You must be signed in to change notification settings

Ignema/go-morocco-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-morocco-weather

This program is structured on three parts:

  1. Fetching cities (gountries)
  2. Computing their weather with coordinates (openweathermap)
  3. Saving the data into an excel file (excelize)

Don't forget to add dependencies:

go get github.com/pariz/gountries
go get github.com/briandowns/openweathermap
go get github.com/360EntSecGroup-Skylar/excelize 

Optional(for wiki_parser.go):

go get github.com/PuerkitoBio/goquery

You can run the program by typing this command:

go run main.go

I also wrote an article explaining the program. You can find it here: https://medium.com/ensias-it/tracking-the-weather-in-major-moroccan-cities-with-go-4907ffdc9c34

About

Tracking the weather in major Moroccan cities with Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages