Skip to main content

THM public API wrapper

Project description

API Py

PyPI version
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

MIT LICENSE

Project details


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.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thmapi-0.11.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file thmapi-0.11.1.tar.gz.

File metadata

  • Download URL: thmapi-0.11.1.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

Hashes for thmapi-0.11.1.tar.gz
Algorithm Hash digest
SHA256 02ac0c61d0447484ae74b496850c8ecd9317dd5a89cbd8f64a2507660c74ee24
MD5 aa8268a6798115db9646e9e711c42815
BLAKE2b-256 c51d3a9d407694294781025e73e9d133210a7804c46ca2350408051378ba7e95

See more details on using hashes here.

File details

Details for the file thmapi-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: thmapi-0.11.1-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

Hashes for thmapi-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96f5353fb369b70f0201fdb1956b1de96d62c217fe3e5bc793c198d29f0f1aad
MD5 d0ca6abbf702f1711ebd2200f119c128
BLAKE2b-256 d21477e6d7f3c3749d102fcd5a08b0a7af818fa326ff9b0cd91482c37189608b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page