Skip to content

Commit 0498780

Browse files
committed
Change URL from testing site to main site.
1 parent f7ad55f commit 0498780

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Adafruit_IO/client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#fork of ApiClient Class: https://github.com/shazow/apiclient
77
class Client(object):
88
#BASE_URL = 'http://localhost:3002/'
9-
BASE_URL = 'http://io.ladyada.org/'
9+
BASE_URL = 'https://io.adafruit.com/'
1010

1111
def __init__(self, key, rate_limit_lock=None):
1212
self.key = key
@@ -37,7 +37,7 @@ def _request(self, method, path, params=None):
3737
r = self.connection_pool.urlopen(method.upper(), url, headers=headers)
3838
else:
3939
r = self.connection_pool.urlopen(method.upper(), url, headers=headers, body=json.dumps(params))
40-
40+
4141
return self._handle_response(r)
4242

4343
def _get(self, path, **params):
@@ -106,4 +106,3 @@ def groups(self, group_id_or_key):
106106
def create_group(self, group_id_or_key, data):
107107
path = "api/groups/{}".format(group_id_or_key)
108108
return self._post(path, data)
109-

0 commit comments

Comments
 (0)