Skip to content

Commit

Permalink
Deprecate the Logs list API (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Brown committed Aug 4, 2017
1 parent 105bc7f commit 8bf7a5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions sendwithus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class api:
HTTP_PUT = 'PUT'
HTTP_DELETE = 'DELETE'

LOGS_ENDPOINT = 'logs'
GET_LOG_ENDPOINT = 'logs/%s'
GET_LOG_EVENTS_ENDPOINT = 'logs/%s/events'
TEMPLATES_ENDPOINT = 'templates'
Expand Down Expand Up @@ -203,14 +202,6 @@ def _api_request(self, endpoint, http_method, *args, **kwargs):

return self._parse_response(r)

def logs(self, timeout=None):
""" API call to get a list of logs """
return self._api_request(
self.LOGS_ENDPOINT,
self.HTTP_GET,
timeout=timeout
)

def get_log(self, log_id, timeout=None):
""" API call to get a specific log entry """
return self._api_request(
Expand Down
2 changes: 1 addition & 1 deletion sendwithus/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '4.1.0'
version = '5.0.0'
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='sendwithus',
version='4.1.0',
version='5.0.0',
author='sendwithus',
author_email='us@sendwithus.com',
packages=find_packages(),
Expand Down

0 comments on commit 8bf7a5c

Please sign in to comment.