beejjacobs / nissan-connect

Node js Nissan Connect api wrapper
7 stars 5 forks source link

Endpoint has changed ? #12

Open Orfait opened 5 years ago

Orfait commented 5 years ago

Hi,

I am trying to use this module, without success. I get a 404 error, so I think the endpoint has changed. Can anyone help ?

Thank you

jfarinhote commented 5 years ago

I believe 404 means wrong parameters, meaning too few parameters to perform the call

Orfait commented 5 years ago

The error is: StatusCodeError: 404 The requested URL /gworchest_160803A/gdc/InitialApp.php was not found on this server.

mnmn2 commented 4 years ago

I found this info: "Nissan Carwings API changes 25 July 2019 There have been slight changes to the API as discovered by running apktool on the new binary for NissanConnect EV app.

New endpoint is https://gdcportalgw.its-mo.com/api_v190426_NE/gdc/.

There now is a new endpoint that replaces /gdc/InitialApp.php with /gdc/InitialApp_v2.php.

The parameters for /gdc/InitialApp_v2.php has also changed; initial_app_strings is now called initial_app_str. Also the actual value for this parameter is now 9s5rfKVuMrT03RtzajWNcA.

Other endpoints seem unchanged."