Skip to main content

A simple API Wrapper for bot-hosting.net

Project description

Bot-Hosting.net API Wrapper | Information

This README will probably only work on github, not pypi, idk why

Important: Your account token expires every 2 weeks! If something isnt working, make sure you use an up-to-date Auth ID :)

A simple API Wrapper for certain information in python for bot-hosting.net

This is made by @suspectedesp on discord, an ex-staff member of bot-hosting.net

What a blessing that pdactyl exists

Table of Contents

Installation

Dependencies (+ used version) :

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

Usage

How to get the 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);

Now you got your Auth ID and can use all the scripts, congrats!

For an usage of the commands etc. please go to this page

Changelog

Latest Changelog:

  • Fixed Stupid Bugs
  • Tested & rewritten for optimization & automation
  • Updated the latest README & Usage Wiki & EXAMPLES

License

MIT License

Copyright (c) 2024 [redacted]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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 OR COPYRIGHT HOLDERS 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.

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
  • @iamkubi api wrapper for pterodactyl panel

Many thanks guys! I appreciate it <3

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

bot_hosting_wrapper-1.1.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

bot_hosting_wrapper-1.1.5-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file bot_hosting_wrapper-1.1.5.tar.gz.

File metadata

  • Download URL: bot_hosting_wrapper-1.1.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for bot_hosting_wrapper-1.1.5.tar.gz
Algorithm Hash digest
SHA256 977f0047a6bfe96a594c41267f8cfc667d0210812a717b58e5b90bca9f2b3b92
MD5 333449ce7d3a158eac49aa0c2e469f58
BLAKE2b-256 a766f45fa0dcf29e488217092eac443290b7c2ea516d40e40f95b09b95efd370

See more details on using hashes here.

File details

Details for the file bot_hosting_wrapper-1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for bot_hosting_wrapper-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 38b0e53c021fc10ad3a72da88573dca7769d029d19ef7e102ff4b8804ee20cfa
MD5 7cf2b1787a555eb7ee20ae68190518e3
BLAKE2b-256 1de096c4b4e279515260e4139c412d128469900389b43427234db5b0088ae76c

See more details on using hashes here.

Supported by

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