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.2.tar.gz
(5.8 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.2-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file thmapi-0.7.2.tar.gz.
File metadata
- Download URL: thmapi-0.7.2.tar.gz
- Upload date:
- Size: 5.8 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 |
14970318206b606b59312dd2c569bdddb5c01b98a5e9af6ab92c0190cca08ae4
|
|
| MD5 |
f86040e5b499f4c9345a04bc75501cf8
|
|
| BLAKE2b-256 |
f1c578b6db2b0ee5b80171b4383e21dfa154ce9f316fe522a2251b841ae5d43d
|
File details
Details for the file thmapi-0.7.2-py3-none-any.whl.
File metadata
- Download URL: thmapi-0.7.2-py3-none-any.whl
- Upload date:
- Size: 10.1 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 |
c637cf853d87fa43362b034632fb90cfae33479c6af8de1ab87db61838ad0267
|
|
| MD5 |
bc8ee067b5a8a131a37fd67405b2b823
|
|
| BLAKE2b-256 |
0db8ba2d5ed14a9a386749ff1604c40cf78e48ca60d3c7359090e79275cab29e
|