Skip to main content

An unofficial API Wrapper for Hackthebox.

Project description


An unofficial API Wrapper for Hackthebox (and more!)

Wanna know more? Wanna know what functions exist? Go to the Wiki

How to use the API

You can:

  • Install the library
  • Just keep it in your working directory.

Installing - Way 1:

  • Clone this repository
  • Do pip3 install . or pip install . whilst in the repo dir to install.

Installing - Way 2:

  • Do pip3 install htbapi or pip install htbapi to install.


You have 4 sub-libraries you can import.

htbapi.core, htbapi.machines, htbapi.challenges and

Always do import htbapi.*, import htbapi.SUBMODULE, or from htbapi.SUBMODULE import FUNCTION.

import htbapi wont work.

If you wanna know what functions you can use, go to the Wiki.

If you really like my work and you have some spare money to spend, why not donate on PayPal?

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for htbapi, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size htbapi-1.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page