samrum / OnStarJS

NodeJS Library for making OnStar API requests
MIT License
85 stars 17 forks source link

Unit Imperial or Metric #238

Open wgspringfree opened 7 months ago

wgspringfree commented 7 months ago

Great work! I want to integrate this package. One question I have is that the default unit is Metric. Is there anyway I can set it to Imperial? Thanks.

BigThunderSR commented 3 months ago

The default units are what the OnStar API returns. You need to handle any unit conversions on your own.