Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
merge 1.5.x in to 1.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
peternijssen committed Oct 14, 2021
2 parents fde0b2a + e3ba42c commit 3a3cc32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='spiderpy',
version='1.6.0',
version='1.6.1',
description='Python wrapper for the Spider API, a way to manage your Spider installation',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
8 changes: 4 additions & 4 deletions spiderpy/spiderapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _request_action(self, url, data):
'authorization': 'Bearer ' + self._access_token,
'Content-Type': 'application/json',
'X-Client-Platform': 'android-phone',
'X-Client-Version': '1.5.3 (3561)',
'X-Client-Version': '1.5.9 (3611)',
'X-Client-Library': 'SpiderPy'
}

Expand All @@ -236,7 +236,7 @@ def _request_update(self, url):
'authorization': 'Bearer ' + self._access_token,
'Content-Type': 'application/json',
'X-Client-Platform': 'android-phone',
'X-Client-Version': '1.5.3 (3561)',
'X-Client-Version': '1.5.9 (3611)',
'X-Client-Library': 'SpiderPy'
}

Expand All @@ -257,7 +257,7 @@ def _request_login(self):
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'X-Client-Platform': 'android-phone',
'X-Client-Version': '1.5.3 (3561)',
'X-Client-Version': '1.5.9 (3611)',
'X-Client-Library': 'SpiderPy'
}

Expand Down Expand Up @@ -292,7 +292,7 @@ def _refresh_access_token(self):
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'X-Client-Platform': 'android-phone',
'X-Client-Version': '1.5.3 (3561)',
'X-Client-Version': '1.5.9 (3611)',
'X-Client-Library': 'SpiderPy'
}

Expand Down

0 comments on commit 3a3cc32

Please sign in to comment.