Closed lezoid closed 3 years ago
Thank you for the debug output. This is yet another variation in how some vehicles are presented through the API at login. It looks like your vehicle information is provided in the CustomerInfo
stanza of the JSON, whereas on mine there is a vehicleInfoList
stanza and on others it is simply vehicleInfo
.
I will attempt to fix it soon.
Thank you for your reply! Does the JSON format of the Japanese model Leaf differ from the Western model? I'm curious.
Do you need JSON values for the other APIs in the Japanese Model Leaf? If necessary, I will give you the results I got by hitting the API directly.
I just pushed a fix for this, sorry about the delay.
ERROR: vehicle info unavailable Japan 2018 model (40kwh / ZE1 type).
EndPointAPI:NML(Japan)
The JP2018 model leaf is experiencing behavior that appears to be a failure of json analysis. Since json is returning a normal response, it seems that the json parsing is not working.
Here is the output of the debug.
Tokens and unique codes are replaced with dummy strings.