Skip to content

Commit

Permalink
New endpoint URL & API key
Browse files Browse the repository at this point in the history
Fixes #35
  • Loading branch information
gboudreau committed Sep 19, 2021
1 parent d7637af commit 770de45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NissanConnect.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class NissanConnect {
/* @var boolean Enable to echo debugging information into the PHP error log. */
public $debug = FALSE;

private $baseURL = 'https://icm.infinitiusa.com/NissanLeafProd/rest/';
private $baseURL = 'https://icm.infinitiusa.com/NissanEVProd/rest/';

private $config = NULL;

Expand Down Expand Up @@ -343,7 +343,7 @@ private function login() {
private function sendRequest($path, $params = array(), $method = 'POST') {
$headers = array(
"Content-Type: application/json; charset=utf-8",
"API-Key: f950a00e-73a5-11e7-8cf7-a6006ad3dba0"
"API-Key: bAwSKw0f+p0tG8astBGpvsXmgcWiVWLrh5ejIYg55D+jH1j1Oi3Hsqw21ri0XBJp"
);

if ($path != 'auth/authenticationForAAS') {
Expand Down

0 comments on commit 770de45

Please sign in to comment.