Project description

Maintained Python wrapper for TryHackMe public API
This fork is unofficial and not associated with TryHackMe, but i would love to.
Installation
pip3 install tryhackme.py
Example
import tryhackme
client = tryhackme.Client(session="<tryHackMe cookie: `connect.sid`>") # Logging in is optional
client.get_stats() # {'publicRooms': 203, 'totalUsers': 88017, 'cloneableRooms': 967}
For more info over getting the connect.sid
visit #1
API documentation
For the API documentation please visit the TryHackMe-API-Doc
Contributing
You're welcome to create Issues/Pull Requests with features you'd want to see
License
MIT LICENSE
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tryhackme.py-1.2.7.tar.gz
.
File metadata
-
Download URL:
tryhackme.py-1.2.7.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Hashes for tryhackme.py-1.2.7.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
b6ffabd07cd47478f9e1466b69433c3ed46d0504316062e6d5e3e79f48e3731f |
|
MD5 |
392057e1190b8dd9391c692aba1ec711 |
|
BLAKE2b-256 |
c6af957aa69f3c6b8ec604a071fd01b2ca9824eb078265e1f22cedce7097f989 |
|
See more details on using hashes here.