THM public API wrapper
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tryhackme.py-1.2.7.tar.gz
(17.0 kB
view hashes)