diff options
-rw-r--r-- | README.md | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,4 +1,4 @@ -Blaweather +#Blaweather This is a ruby script for getting weather forecasts. It will return the current weather, brief forecast for the day and week, and any predictions of rain for the next hour. @@ -8,26 +8,26 @@ It uses Forecast.io as the source of weather data. It uses Google Maps API to convert locations into lat/long co-ordinates which are needed for the forecast. Any city, postal code, street address, place of interest, etc, should work. -Installation: +##Installation: Run the following to install the required gems - -gem install +`gem install` Alternatively, install the 'json' and 'rest-client' Ruby Gems via your package manager. -Usage: +##Usage: -ruby blaweather.rb [location] +`ruby blaweather.rb [location]` e.g: -ruby blaweather.rb London -ruby blaweather.rb W1A 1AA -ruby blaweather.r tower bridge +`ruby blaweather.rb London` +`ruby blaweather.rb W1A 1AA` +`ruby blaweather.r tower bridge` -To do: +##To do: -Specify detailed forecasts for specific days -Extra information (wind speed, humidity?) -Forecast further ahead.
\ No newline at end of file +1. Specify detailed forecasts for specific days +2. Extra information (wind speed, humidity?) +3. Forecast further ahead.
\ No newline at end of file |