jcheng31 / DarkSkyApi

An unofficial C# library for the Dark Sky weather service. Targets .NET Standard 1.1.
MIT License
32 stars 18 forks source link

UK2 Unit value #18

Closed CodeAnimal closed 7 years ago

CodeAnimal commented 7 years ago

The "uk" unit was in the old documentation. The "uk2" unit type has now replaced that in the documentation and it is technically more appropriate - as it will return nearestStormDistance and visibility in miles and not kilometres.

I suggest add a new enum value Unit.UK2 which returns "uk2" when invoking the ToValue extension method.