Matchstic / Xen-HTML

Unified and simplified HTML rendering
GNU General Public License v2.0
109 stars 16 forks source link

List of possible return values for certain endpoints #258

Closed strafe closed 4 years ago

strafe commented 4 years ago

I'm currently using the weather.now.condition.description inline to display the current weather condition. I want to display a glyph based on that condition (I assume I'll need to switchover to the callback approach to implement that but I can't seem to find an exhaustive list of all possible return values.

Matchstic commented 4 years ago

To do that, use weather.now.condition.code instead. That is the numerical version, because the description is for displaying only; it will get translated to the user's current language.