Change URL from testing site to main site.

This commit is contained in:
Tony DiCola 2014-12-08 13:52:44 -08:00
parent f7ad55fc81
commit 0498780514

View file

@ -6,7 +6,7 @@ from urllib import urlencode, quote
#fork of ApiClient Class: https://github.com/shazow/apiclient
class Client(object):
#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):
self.key = key
@ -106,4 +106,3 @@ class Client(object):
def create_group(self, group_id_or_key, data):
path = "api/groups/{}".format(group_id_or_key)
return self._post(path, data)