Change URL from testing site to main site.
This commit is contained in:
parent
f7ad55fc81
commit
0498780514
1 changed files with 2 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ from urllib import urlencode, quote
|
||||||
#fork of ApiClient Class: https://github.com/shazow/apiclient
|
#fork of ApiClient Class: https://github.com/shazow/apiclient
|
||||||
class Client(object):
|
class Client(object):
|
||||||
#BASE_URL = 'http://localhost:3002/'
|
#BASE_URL = 'http://localhost:3002/'
|
||||||
BASE_URL = 'http://io.ladyada.org/'
|
BASE_URL = 'https://io.adafruit.com/'
|
||||||
|
|
||||||
def __init__(self, key, rate_limit_lock=None):
|
def __init__(self, key, rate_limit_lock=None):
|
||||||
self.key = key
|
self.key = key
|
||||||
|
|
@ -106,4 +106,3 @@ class Client(object):
|
||||||
def create_group(self, group_id_or_key, data):
|
def create_group(self, group_id_or_key, data):
|
||||||
path = "api/groups/{}".format(group_id_or_key)
|
path = "api/groups/{}".format(group_id_or_key)
|
||||||
return self._post(path, data)
|
return self._post(path, data)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue