-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from chmoder/develop
Develop
- Loading branch information
Showing
27 changed files
with
1,141 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "strike-api" | ||
version = "0.1.4" | ||
version = "0.1.5" | ||
description = "A python client for the strike api" | ||
authors = ["Thomas Cross <[email protected]>"] | ||
readme = "README.md" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
tests/cassettes/test_accounts/test_get_account_by_handle.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.28.1 | ||
method: GET | ||
uri: https://api.strike.me/v1/accounts/handle/chmoder/profile | ||
response: | ||
body: | ||
string: !!binary | | ||
H4sIAAAAAAAAA4TMMWvDMBCG4f9ys2TX2FZtQShtsnRtm6lkOMsnW1SRjCQbSvB/L2lIIFDoeN97 | ||
PCcY0fWWQIIaj76nAAxwwYRhHyxIGFOaoszzmIL5In5JMYvJBxwoG7wfLOFkYqb8Me/1oxBCPfBS | ||
dJpXhD3vqG+5RtJt0TS6FV02ueFpIEcBk/FuUwhRVHVdV0XVtGVdAgOF7o0UmYVApjATAzWHQE4Z | ||
iiA/T9fzGyS8fGyBgYk70jjbtL0VjTbSuTwvaCx29oaZ+OoWbxRdxt/Hld2p+/fd3+pV+A89j+th | ||
/QEAAP//AwDeIof1YAEAAA== | ||
headers: | ||
CF-Cache-Status: | ||
- DYNAMIC | ||
CF-RAY: | ||
- 764f6aeac9776293-ORD | ||
Connection: | ||
- keep-alive | ||
Content-Encoding: | ||
- gzip | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Date: | ||
- Fri, 04 Nov 2022 18:29:52 GMT | ||
Server: | ||
- cloudflare | ||
Set-Cookie: | ||
- __cf_bm=7GqT5wMBvJIiMj3rDFQ90P0.ys2zFIqu.I4e.CM_n0U-1667586592-0-AT5/vY2q81+2h9LWtvq39Z6Npncf3bRAQNLNUqcR6DOWyPa638v9faS1PYDId71+M9bON9jyiSNRF9OwiL46bJI=; | ||
path=/; expires=Fri, 04-Nov-22 18:59:52 GMT; domain=.strike.me; HttpOnly; | ||
Secure; SameSite=None | ||
Strict-Transport-Security: | ||
- max-age=300; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
Via: | ||
- 1.1 google | ||
X-Content-Type-Options: | ||
- nosniff | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.28.1 | ||
method: GET | ||
uri: https://api.strike.me/v1/accounts/953680ce-2149-4ce2-a5e3-82bb9a57be41/profile | ||
response: | ||
body: | ||
string: !!binary | | ||
H4sIAAAAAAAAAyTIwQqCQBAG4FeR/7zEEgYxZxMDc0P0LMPu1CkXnNmT+O4Rfcdvh20c5Z5A8N2j | ||
n26hvzy79kr+7wyHxMagHWpsRUG1rx1iTgLCEKalDfPQwOEjqvz+7SiayxalWrNVr1zWdMJxfAEA | ||
AP//AwDzsjQ3bQAAAA== | ||
headers: | ||
CF-Cache-Status: | ||
- DYNAMIC | ||
CF-RAY: | ||
- 7649af249a312ab6-ORD | ||
Connection: | ||
- keep-alive | ||
Content-Encoding: | ||
- gzip | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 04 Nov 2022 01:47:52 GMT | ||
Server: | ||
- cloudflare | ||
Set-Cookie: | ||
- __cf_bm=FsHZNADblvBrXGC6qw_93zIq9W9ONZYlHIZ8JnYQJ1w-1667526472-0-AVYFQmS8/4h4gkseObjHZtKnujUjLl+bhsgvC5LkaTESA5MZk+gOBpeFtnP0CQ0tIm/8tyVlbcuJGZiR/QHtqJo=; | ||
path=/; expires=Fri, 04-Nov-22 02:17:52 GMT; domain=.strike.me; HttpOnly; | ||
Secure; SameSite=None | ||
Strict-Transport-Security: | ||
- max-age=300; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
Via: | ||
- 1.1 google | ||
X-Content-Type-Options: | ||
- nosniff | ||
status: | ||
code: 404 | ||
message: Not Found | ||
version: 1 |
51 changes: 51 additions & 0 deletions
51
tests/cassettes/test_accounts/test_get_account_by_id_not_found.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.28.1 | ||
method: GET | ||
uri: https://api.strike.me/v1/accounts/953680ce-2149-4ce2-a5e3-82bb9a57be41/profile | ||
response: | ||
body: | ||
string: !!binary | | ||
H4sIAAAAAAAAAyTIsQrCMBAG4Fcp/xxKhghys0qFtqGlznIkp5MN9C5T6buL+I3fDts4yT2D4Luh | ||
X66xP03zuSP/F+CQ2Ri0Q42tKij44JBKFhDGuDxv8TFe4PARVX7/dhYtdUvSrMWaV6lrbnEcXwAA | ||
AP//AwByTZfpbQAAAA== | ||
headers: | ||
CF-Cache-Status: | ||
- DYNAMIC | ||
CF-RAY: | ||
- 764f6ae81aa52c13-ORD | ||
Connection: | ||
- keep-alive | ||
Content-Encoding: | ||
- gzip | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 04 Nov 2022 18:29:52 GMT | ||
Server: | ||
- cloudflare | ||
Set-Cookie: | ||
- __cf_bm=qQpE7XjMACr7I6GusAWp5XtVq8mB6kNJ5Nzj4xQQEo8-1667586592-0-ARIjG1UtDEpOsujFpu0K3buCCa4SAMsHGJEnw1rkx+9Jv0OAUJIyvaZ5ZQqPsiMXpcd2JyZpgdsudWm67Fpnc1E=; | ||
path=/; expires=Fri, 04-Nov-22 18:59:52 GMT; domain=.strike.me; HttpOnly; | ||
Secure; SameSite=None | ||
Strict-Transport-Security: | ||
- max-age=300; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
Via: | ||
- 1.1 google | ||
X-Content-Type-Options: | ||
- nosniff | ||
status: | ||
code: 404 | ||
message: Not Found | ||
version: 1 |
Oops, something went wrong.