-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove broken hypergryph authentication
- Loading branch information
Showing
3 changed files
with
19 additions
and
120 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,6 @@ Arknights python wrapper. | |
|
||
Interacts directly with the game servers, no delays. | ||
|
||
支持**中文和B站**账户! | ||
|
||
<!-- Supports Chinese and BiliBili accounts --> | ||
|
||
--- | ||
|
||
Source Code: <https://github.com/thesadru/arkprts> | ||
|
@@ -95,16 +91,6 @@ for item_id, subitems in user.consumable.items(): | |
print(item_id, item.ts, item.count) | ||
``` | ||
|
||
Logging in with email and password to the cn server. | ||
|
||
```py | ||
auth = arkprts.HypergryphAuth() | ||
await auth.login("[email protected]", "wordpass12") | ||
client = arkprts.Client(auth=auth) | ||
|
||
await client.get_data() | ||
``` | ||
|
||
Making a new client when a global guest client already exists; without excess overhead. | ||
|
||
```py | ||
|
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