Skip to main content

Bot Hosting Wrapper

PyPI Downloads

A simple yet powerful Python wrapper for bot-hosting.net's API

🚀Information

As of 20/01/2025, this library can only be used from bot-hosting.net's nodes. If you try to access it from elsewhere, Cloudflare will block your request with a 403 error.

⚠️ Important: Your account token expires every 2 weeks! If something isn't working, double-check that you're using an up-to-date Auth ID.

This is maintained by @suspectedesp on Github

Table of Contents

Installation

Dependencies | Make sure you have the following installed (+ used version in development):

requests==2.31.0
colorama==0.4.6
datetime==5.4

Install using pip:

pip install requests colorama datetime

Usage

Retrieving your Authorization key

Please follow the instructions to get your auth id:

  • Login to your account and go to this page
  • Open your browser's console (usually by pressing F12 or pressing Control + Shift + I)
  • Navigate to the 'Console' tab
  • Paste in the following code:
var token = localStorage.getItem('token');
console.log('Your Auth ID:', token);

Your Auth ID will now be displayed in the console and can use the module, congrats!

🔹 For a full list of commands and usage examples, check out the Wiki

Changelog

📢 Stay up to date with the latest changes! Find the latest release notes under the Releases tab.

Wiki

Need function documentation, known issues or coding usage? Check out the wiki under the Wiki tab

License

The Unlicense

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to https://unlicense.org

Contributing

  • Follow these simple steps for contributing via Github
  • Fork the repository.
  • Create a new branch: git checkout -b feature/my-feature.
  • Commit your changes: git commit -am 'Add my feature'.
  • Push to the branch: git push origin feature/my-feature.
  • Submit a pull request.

💖Credits

Many thanks to:

  • @mathiasDPX for giving me some ideas and remaking the code
  • @pondwader for letting me upload this
  • @Aidan-The-Dev for the useful PR

Thank you all! Your contributions mean a lot, I appreciate it <3

Metadata

Release files for bot-hosting-wrapper 1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bot-hosting-wrapper 1.4
File Size Uploaded
bot_hosting_wrapper-1.4.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bot-hosting-wrapper 1.4
File Interpreter ABI Platform
bot_hosting_wrapper-1.4-py3-none-any.whl Python 3 none any Details

Total release size: 29.1 kB

Release files / bot_hosting_wrapper-1.4.tar.gz

Download URL bot_hosting_wrapper-1.4.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
927eeafddf8a3fc44c9b04703bc008a7c41020cad38967f0377c2653af49057f
BLAKE2b-256 checksum
How to use checksums
96ccf7db55c20efd3e0b67317ff97b9f745014634d50498f7138155c8488f893
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release files / bot_hosting_wrapper-1.4-py3-none-any.whl

Download URL bot_hosting_wrapper-1.4-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76eb73ee35a83b5f0dc7974eeb2441673aab219ccd5524ae40a8f522ffab7b4a
BLAKE2b-256 checksum
How to use checksums
f00a08ec7d09828d78263a7b736a63c6a8648e4ef55bd8074df711e4beff9725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.4 This release

2 release files

1.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page