THM public API wrapper
Project description
API Py
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.11.0.tar.gz
(8.5 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.11.0-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file thmapi-0.11.0.tar.gz.
File metadata
- Download URL: thmapi-0.11.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb800a79edfd99e001dd7649f7fa0fe7caeaa41302532e832f9a986631cee068
|
|
| MD5 |
357e0fbf45ae572b013ac53c905c4fe0
|
|
| BLAKE2b-256 |
5b72c90e3b68a6eafaddd646a3e43013b6ef3dfbe64885b9e134894673736f52
|
File details
Details for the file thmapi-0.11.0-py3-none-any.whl.
File metadata
- Download URL: thmapi-0.11.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d5c1c939216e27a1736abcd92d0b7e4c566e3eeffd1015cf51a50d9669adb96
|
|
| MD5 |
d106da4cb1fde09dbe2515098d4a45b8
|
|
| BLAKE2b-256 |
5db578734ab4f7cfb0de413c7e8c36c61e9fbb2232861d218a1976faa24fc34a
|