summaryrefslogtreecommitdiffstats
path: root/nws/nws.go
Commit message (Collapse)AuthorAgeFilesLines
* nws: update `GetForecastHourly`siddharth ravikumar2022-06-241-1/+16
| | | | Add handling to error out when weather data returned by NWS is stale.
* weather: update `NewWeather`siddharth ravikumar2022-06-181-0/+1
| | | | Add handling to skip duplicate alerts.
* nws: update `GetForecastBundle`siddharth ravikumar2022-06-181-0/+6
| | | | Add alerts to the bundle.
* nws: update `GetAlerts`siddharth ravikumar2022-06-181-4/+15
| | | | Implement caching.
* nws: add `GetAlerts`siddharth ravikumar2022-06-161-0/+69
|
* nws: `CacheWeather` -> `GetForecastBundle`siddharth ravikumar2022-06-071-4/+38
|
* nws: add `CacheWeather`siddharth ravikumar2022-06-071-0/+9
|
* nws: implement caching for all endpointssiddharth ravikumar2022-06-071-18/+77
|
* nws: update `Points`siddharth ravikumar2022-06-051-20/+4
| | | | Use `nws.get` for hitting the NWS points endpoint.
* nws: update GetForecastHourlysiddharth ravikumar2022-06-051-21/+5
| | | | Use `nws.get` for hitting the NWS forecast hourly endpoint.
* nws: update GetForecastsiddharth ravikumar2022-06-051-20/+4
| | | | Use `nws.get` for hitting the NWS forecast endpoint.
* nws: add getsiddharth ravikumar2022-06-051-0/+55
| | | | A thin HTTP GET wrapper for hitting NWS API endpoints.
* nws: remove "NWS" from typessiddharth ravikumar2022-05-291-23/+22
| | | | | | | Also rename: - `Forecast` function to `GetForecast`. - `ForecastHourly` function to `GetForecastHourly`.
* update name in copyrightsiddharth ravikumar2022-05-281-1/+1
| | | | Use full name.
* nws: add todossiddharth2022-05-211-0/+7
|
* nws: update NWSPointPropertiessiddharth2022-05-211-5/+15
| | | | Add relative location.
* nws: add ForecastHourlysiddharth2022-05-161-0/+43
|
* nws: add Forecastsiddharth2022-05-151-0/+65
|
* nws: update Pointssiddharth2022-05-151-4/+4
| | | | update error messages.
* nws: NWSPointError -> NWSErrorsiddharth2022-05-151-3/+3
|
* nws: update NWSPointPropertiessiddharth2022-05-151-9/+9
| | | | | ForecastLink -> Forecast ForecastHourlLink -> ForecastHourly
* nws: NWSPoints -> NWSPointsiddharth2022-05-151-11/+12
| | | | Also NWSPointsError -> NWSPointError
* nws: update NWSPointPropertiessiddharth2022-05-151-0/+1
| | | | Add GridId
* nws: update NWSPointPropertiessiddharth2022-05-151-0/+2
| | | | Add GridX and GridY.
* nws: points -> Pointssiddharth2022-05-151-2/+2
|
* add nws packagesiddharth2022-05-081-0/+72