THM public API wrapper
Project description
thmapi
Python wrapper for TryHackMe API
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.7.5.tar.gz
(6.2 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
thmapi-0.7.5-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file thmapi-0.7.5.tar.gz.
File metadata
- Download URL: thmapi-0.7.5.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8f03604c1acf1a798ee18f2692261fd89ca66b8ffdb5b222a52dd94c41e962e
|
|
| MD5 |
05dbcefbb9685b0cd7117bc192faf07b
|
|
| BLAKE2b-256 |
01354fea04598265591dd503dfb686339623bd1439251f11cee8406135ad2d76
|
File details
Details for the file thmapi-0.7.5-py3-none-any.whl.
File metadata
- Download URL: thmapi-0.7.5-py3-none-any.whl
- Upload date:
- Size: 10.5 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/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebf4d1b2225157ed0f02cd50dd5ee27669f740700427e06350befa2edccf4ca7
|
|
| MD5 |
a18b039bc4a01064ddc370d9e561ea87
|
|
| BLAKE2b-256 |
5da12a9302d805382c9dac85786f33b199634cfe26ad94b86626b6aa8b9a50f8
|