diff --git a/dist/pygogogate2-0.0.2.tar.gz b/dist/pygogogate2-0.0.2.tar.gz deleted file mode 100644 index 42e665e..0000000 Binary files a/dist/pygogogate2-0.0.2.tar.gz and /dev/null differ diff --git a/pygogogate2.egg-info/PKG-INFO b/pygogogate2.egg-info/PKG-INFO index a9cff0c..0ad6962 100644 --- a/pygogogate2.egg-info/PKG-INFO +++ b/pygogogate2.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: pygogogate2 -Version: 0.0.2 +Version: 0.0.3 Summary: Python package for controlling Gogogate2-Enabled Garage Door Home-page: https://github.com/dlbroadfoot/pygogogate2 Author: David Broadfoot diff --git a/pygogogate2/__init__.py b/pygogogate2/__init__.py index 5d5ecdc..bd58b90 100644 --- a/pygogogate2/__init__.py +++ b/pygogogate2/__init__.py @@ -26,12 +26,10 @@ class Gogogate2API: logger = logging.getLogger(__name__) - def __init__(self, username, password, ip_address, api_key): + def __init__(self, username, password, ip_address): """Initialize the API object.""" self.username = username self.password = password - if api_key is not None: - self.host_uri = 'http://' + api_key + 'my-gogogate.com' if ip_address is not None: self.host_uri = 'http://' + ip_address self.api_code = None diff --git a/setup.py b/setup.py index 1060b85..7749edd 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='pygogogate2', - version='0.0.2', + version='0.0.3', description='Python package for controlling Gogogate2-Enabled Garage Door', author='David Broadfoot', author_email='dbroadfoot@gmail.com',