Recent content by joshperry

My Nissan Leaf Forum

Help Support My Nissan Leaf Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
  1. J

    Carwings API?

    I was just working on updating my code to use this new login procedure. I really appreciate you posting this info. Out of curiosity, might I ask how you figured out the encryption method and settings for the new login flow? Josh
  2. J

    Carwings API?

    Apparently, this is where the region is chosen. I guess we will need build a list for the user to select from.
  3. J

    Carwings API?

    You're right! I had everything else removed but the region. Hmm, I'll have to set my proxy back up and see how the app discovers that value at registration time.
  4. J

    Carwings API?

    The most general way to deal with the region code is to use the login operation. It doesn't require the region code and its response contains the appropriate region for the provided credentials. I'm going to cache this at "link" time for my users. I might not even need to store carwings...
  5. J

    Carwings API?

    Not sure actually. I think this is actually an ID number from the DCM in the car (I'm still trying to figure out what the DCM is (one of the car's computers). So I think it may be static, or maybe only static until the car is registered with another owner. It's going to take some more testing to...
  6. J

    Carwings API?

    For those with any interest: https://github.com/joshperry/carwings/blob/master/protocol.markdown
  7. J

    Carwings API?

    Think I'm going to flesh out all the operations and their response bodies in some docs. But yes, even state mutation is done via get requests: GET https://gdcportalgw.its-mo.com/orchestration_1111/gdc/ACRemoteRequest.php?RegionCode=NNA&lg=en-US&DCMID=<dcmid>&VIN=<vin>&tz=America/Denver I don't...
  8. J

    Carwings API?

    Ha... Yeah // Thanks for putting my credentials in the URL so they can be logged by servers and proxies. GET https://gdcportalgw.its-mo.com/orchestration_1111/gdc/UserLoginRequest.php?RegionCode=NNA&lg=en-US&DCMID=&VIN=&tz=&UserId=josh%40example.com&Password=supers3kr3t // Yes, if you paste...
  9. J

    Carwings API?

    I've been working on a Leaf app and started seeing this as well. Argh. I guess they deprecated and then decommissioned the old XML API, these are the risks running rogue. Though having a JSON API will be easier for me. (I haven't gotten my proxy set up yet, but I hope that state change mods...
Back
Top