veterejo

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.swab.dev/veterejo.git
Log | Files | Refs | README | LICENSE

commit 71ca808386a7771e91a1f5a3c2e08c40fac395e7
parent 12af6619f23b2a91bc0d3e20216fe844649df7a3
Author: Jaron Swab <jrswab@tuta.io>
Date:   Sun,  8 Mar 2020 14:05:46 -0400

Update README.md
Diffstat:
MREADME.md | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -9,7 +9,9 @@ By replacing the **o** of a noun with **ejo** the word discribes a place of that 1. Get an API Key from (OpenWeatheMap)[https://openweathermap.org] 2. Import this package 3. Create a new `WeatherData` struct: `w := new(veterejo.WeatherData)` -4. Make parse the URL: `url, err := veterejo.MakeURL(yourCityID, unitsOfMeasure, yourApiId)` +4. Parse the URL: `url, err := veterejo.MakeURL(yourCityID, unitsOfMeasure, yourApiId)` + - `yourApiId` is required + - The rest may be ommitted if desired. 5. Call the data: `w.getData(url)` 6. Use the method for temperature to get the most recent temperature data on OpenWeatherMap