Skip to content

Commit

Permalink
Removed api key parameter as it wasn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
dlbroadfoot committed Apr 3, 2018
1 parent 6370809 commit 1a5e692
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Binary file removed dist/pygogogate2-0.0.2.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pygogogate2.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 1 addition & 3 deletions pygogogate2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
Expand Down

0 comments on commit 1a5e692

Please sign in to comment.