jsgoecke / tesla

Provides a wrapper around the API to easily query and command a Telsa car. As of now this has been used with a Model S, a Model X, and a Model 3.
MIT License
325 stars 73 forks source link

Fixing 32/64 bit issues for vehicle_id #42

Closed thardie closed 2 years ago

thardie commented 2 years ago

When using this on a 32 bit platform, the response fails to parse vehicle_id when compiled for 32 bit platforms: panic: json: cannot unmarshal number 224631070431 into Go struct field .response.vehicle_id of type int

andig commented 2 years ago

See https://github.com/jsgoecke/tesla/issues/41

thardie commented 2 years ago

See #41

Oh, thanks!