dgw / sopel-wolfram

Wolfram|Alpha plugin for the Sopel IRC framework
Other
5 stars 1 forks source link

W|A returns measurements based on geoIP #16

Closed dgw closed 7 years ago

dgw commented 7 years ago

If the IP address calling the API is in the United States, it appears W|A will return imperial measurements by default. This plugin should specify what unit system it wants (probably metric by default) by extending the params argument added to fix #14.

W|A's API has a units option that can be set to metric or nonmetric.