THM public API wrapper
Project description
thmapi
Python wrapper for TryHackMe public API
Officially sponsored and affiliated with TryHackMe
Installation
pip install thmapi
Usage
from thmapi import THM
creds = {
'username': '<USERNAME>',
'password': '<PASSWORD'
}
thm = THM(credentials=creds) # Logging in is optional
thm.get_stats() # {'publicRooms': 203, 'totalUsers': 88017, 'cloneableRooms': 967}
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
thmapi-0.9.3.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thmapi-0.9.3.tar.gz.
File metadata
- Download URL: thmapi-0.9.3.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dd3d39d6e91243c4f5968375eadabee7a6c22779bace203f9c93b68b7817715
|
|
| MD5 |
4c966d551e81b8a1d022697969e92cf4
|
|
| BLAKE2b-256 |
cbfb0c63cf4ba01c09907d94a19a05e74dd00e9e86a55b5b3d273ae2bbd6dab2
|
File details
Details for the file thmapi-0.9.3-py3-none-any.whl.
File metadata
- Download URL: thmapi-0.9.3-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adf58a4b293f719c30409fec6e53b2739dffbfbf6ee24df9d77e882ed805b91d
|
|
| MD5 |
b24c12dd64e0e91b1b6b6e11258fb21f
|
|
| BLAKE2b-256 |
bd4d725d66aac93cb46e6b14764f266b95fe02b4e6775a72e79bd40ce962e4d4
|