Maintained Python wrapper for TryHackMe public API
This fork is unofficial and not associated with TryHackMe, but i would love to.
pip3 install tryhackme.pyimport 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
For the API documentation please visit the TryHackMe-API-Doc
You're welcome to create Issues/Pull Requests with features you'd want to see
