summaryrefslogtreecommitdiffstats
path: root/nws
Commit message (Collapse)AuthorAgeFilesLines
* nws: update `GetForecast`siddharth ravikumar2022-07-022-20/+34
| | | | Change return error type to `nws.Error`
* nws: update `Points`siddharth ravikumar2022-07-022-20/+29
| | | | Change return error type to `nws.Error`
* 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-182-23/+53
| | | | Implement caching.
* nws: update `TestAlerts`siddharth ravikumar2022-06-181-3/+73
|
* nws: add `GetAlerts`siddharth ravikumar2022-06-162-0/+77
|
* nws: `CacheWeather` -> `GetForecastBundle`siddharth ravikumar2022-06-071-4/+38
|
* nws: test: fix `TestNWSGetWrapper`siddharth ravikumar2022-06-071-3/+13
|
* 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-052-1/+146
| | | | A thin HTTP GET wrapper for hitting NWS API endpoints.
* nws: remove "NWS" from typessiddharth ravikumar2022-05-292-27/+26
| | | | | | | Also rename: - `Forecast` function to `GetForecast`. - `ForecastHourly` function to `GetForecastHourly`.
* update name in copyrightsiddharth ravikumar2022-05-282-2/+2
| | | | Use full name.
* nws: add todossiddharth2022-05-211-0/+7
|
* nws: update NWSPointPropertiessiddharth2022-05-212-5/+22
| | | | Add relative location.
* nws: update TestPointssiddharth2022-05-161-0/+1
|
* nws: update TestForecastsiddharth2022-05-161-0/+2
|
* nws: add ForecastHourlysiddharth2022-05-162-0/+90
|
* nws: add Forecastsiddharth2022-05-152-0/+117
|
* nws: update Pointssiddharth2022-05-151-4/+4
| | | | update error messages.
* nws: NWSPointError -> NWSErrorsiddharth2022-05-151-3/+3
|
* nws: update NWSPointPropertiessiddharth2022-05-152-13/+13
| | | | | ForecastLink -> Forecast ForecastHourlLink -> ForecastHourly
* nws: NWSPoints -> NWSPointsiddharth2022-05-151-11/+12
| | | | Also NWSPointsError -> NWSPointError
* nws: update NWSPointPropertiessiddharth2022-05-152-0/+4
| | | | Add GridId
* nws: update NWSPointPropertiessiddharth2022-05-152-0/+8
| | | | Add GridX and GridY.
* nws: points -> Pointssiddharth2022-05-152-4/+4
|
* add nws packagesiddharth2022-05-082-0/+98