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
Metadata
Release files for tryhackme.py 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tryhackme.py-1.2.7.tar.gz | 17.0 kB | Details |
Release files / tryhackme.py-1.2.7.tar.gz
| Download URL | tryhackme.py-1.2.7.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6ffabd07cd47478f9e1466b69433c3ed46d0504316062e6d5e3e79f48e3731f
|
|
BLAKE2b-256 checksum How to use checksums |
c6af957aa69f3c6b8ec604a071fd01b2ca9824eb078265e1f22cedce7097f989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|