Just because I want to check the temperature from the command line
To download the file open de command and and type the following command:
wget https://raw.githubusercontent.com/petriuslima/temperature/master/temperature -O /usr/bin/temperature
or
curl https://raw.githubusercontent.com/petriuslima/temperature/master/temperature -o /usr/bin/temperature
and give permission to execute the script with chmod +x /usr/bin/temperature
Now, to check the temperature type temperature {cityname}
on the command line.
The default country is Brazil and if you want to check the temperature in a city from another country, just type the country code (ISO 3166) after the cityname, like: temperature {cityname} {countrycode}