This program is using METNO's weather API, that the famous Norwegian weather app uses: YR.
This means the program will work optimally in Norway and some parts of Scandinavia (coordinates within forementioned areas). Outside forementioned areas, the weather predictions could be incorrect or unstable. Data that couldn't be retrieved by METNO will show as null next to the unit of measurement.
This program is made purely for fun, so enjoy!
Setting custom latitude and longitude:
weather-rs --lat 59.000000 --long 5.000000Setting custom name:
weather-rs --lat 59.000000 --long 5.000000Print out short version of the weather (ideal for shell startup scripts)
weather-rs --shortUse predefined place using the name
weather-rs --place "Galdhøpiggen"When you want to use predefined places, without needing to remember the coordinates of the place, and call them using --place use places.json file.
The places.json file will be searched in the location where the executable resides, so have the places.json file in same folder as the weather-rs file
Each place needs a name, latitude and longitude.
Example places.json file:

{ "gald": { // the callname (--place "gald") "name" : "Galdhøpiggen", // name that will be used when previewing the weather "lat": 61.636389, // latitude "long": 8.3125 // longitude } }