https://github.com/ignema/go-morocco-weather
Tracking the weather in major Moroccan cities with Go
https://github.com/ignema/go-morocco-weather
automation excel golang open-weather-map-api webscraping
Last synced: 2 days ago
JSON representation
Tracking the weather in major Moroccan cities with Go
- Host: GitHub
- URL: https://github.com/ignema/go-morocco-weather
- Owner: Ignema
- Created: 2021-01-22T06:12:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T17:35:31.000Z (over 5 years ago)
- Last Synced: 2025-11-28T14:44:04.314Z (7 months ago)
- Topics: automation, excel, golang, open-weather-map-api, webscraping
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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