Skip to main content

THM public API wrapper

Project description

thmapi

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.9.1.tar.gz (6.3 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.9.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thmapi-0.9.1.tar.gz
  • Upload date:
  • Size: 6.3 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

Hashes for thmapi-0.9.1.tar.gz
Algorithm Hash digest
SHA256 b396f53a6f825f91c127428831f8cc971e2ffb58361ee9a209d85462967469c0
MD5 0808cb6fce04aa572f60f7d8909dee3e
BLAKE2b-256 cc1ff59a0402bc52173ea3ebed47b5da91543230ed49d95d0472b9958bb9da72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thmapi-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 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

Hashes for thmapi-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8620f0d2abc23159b42659ad9f6eb700ed1a4aa69b8acf3b96dc1845bfb2e257
MD5 45eb86ac6716ddb866b280b79edf5a7a
BLAKE2b-256 681260b14e9d9d43e970f75106f4e382e31c1cce088d44cd15304be8c71fee80

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