Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.16 KB

PyPI version Python supported versions

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