Skip to main content

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

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)

Source distribution for tryhackme.py 1.2.7
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

Release history Release notifications | RSS feed

This release

1.2.7 This release

1 release file

1.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page