BroderickCarlin/openweather

various options are not exposed to the user, limiting use

Opened this issue · 0 comments

OWM has "units," "lang," and "cnt" (as well as "format", but the options are json or xml, so that can be ignored) that let you specify the units of various stats (temperature defaults to kelvin and other things use metric), the language, and how many cities to limit to (in the event multiple ones are slotted in). However, there is currently no way to make use of any of them.

My suggestion would be an addition to the LocationSpecifier enum to allow you to add units, lang, and possibly cnt