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
Metadata
Release files for thmapi 0.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thmapi-0.11.1.tar.gz | 8.5 kB | Without provenance | Details for thmapi-0.11.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thmapi-0.11.1-py3-none-any.whl | Python 3 | none | any | Details for thmapi-0.11.1-py3-none-any.whl |
Total release size: 19.4 kB
Release files / thmapi-0.11.1.tar.gz
| Download URL | thmapi-0.11.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02ac0c61d0447484ae74b496850c8ecd9317dd5a89cbd8f64a2507660c74ee24
|
|
BLAKE2b-256 checksum How to use checksums |
c51d3a9d407694294781025e73e9d133210a7804c46ca2350408051378ba7e95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / thmapi-0.11.1-py3-none-any.whl
| Download URL | thmapi-0.11.1-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96f5353fb369b70f0201fdb1956b1de96d62c217fe3e5bc793c198d29f0f1aad
|
|
BLAKE2b-256 checksum How to use checksums |
d21477e6d7f3c3749d102fcd5a08b0a7af818fa326ff9b0cd91482c37189608b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for thmapi 0.11.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.