From 9d9c146f630c9a9ff4c355849316768f716ece41 Mon Sep 17 00:00:00 2001 From: aminorjourney Date: Fri, 4 Jan 2013 12:37:41 +0000 Subject: [PATCH 1/2] Update connection.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added EU portal address. Needs further testing.  --- connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connection.py b/connection.py index 5a23c3b..8df1372 100644 --- a/connection.py +++ b/connection.py @@ -5,6 +5,8 @@ class Connection(object): """Maintains a connection to CARWINGS, refreshing it when needed""" BASE_URL = 'https://nissan-na-smartphone-biz.viaaq.com/aqPortal/smartphoneProxy' + + """Looks as if the European portal is: 'https://nissan-eu-smartphone-biz.viaaq.eu/aqPortal/smartphoneProxy' . Need further testing to prove """ def __init__(self, username, password): self.username = username From 10858a1fac992f1dceab2cb7ad6380adedd32770 Mon Sep 17 00:00:00 2001 From: aminorjourney Date: Tue, 25 Feb 2014 22:27:31 +0000 Subject: [PATCH 2/2] Update connection.py Confirmed EU connection as working using URL above. --- connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connection.py b/connection.py index 8df1372..1f6d140 100644 --- a/connection.py +++ b/connection.py @@ -6,8 +6,8 @@ class Connection(object): BASE_URL = 'https://nissan-na-smartphone-biz.viaaq.com/aqPortal/smartphoneProxy' - """Looks as if the European portal is: 'https://nissan-eu-smartphone-biz.viaaq.eu/aqPortal/smartphoneProxy' . Need further testing to prove """ - + """European portal BASE_URL= 'https://nissan-eu-smartphone-biz.viaaq.eu/aqPortal/smartphoneProxy' . Uncomment for EU operation""" + def __init__(self, username, password): self.username = username self.password = password