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

Uploaded Source

Built Distribution

bot_hosting_wrapper-1.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bot_hosting_wrapper-1.2.tar.gz
Algorithm Hash digest
SHA256 7fe0a8fa5921c101be6cd3ff5673a67f5132201d6b5e3a490afb827883b06ef7
MD5 248e7559e988fd59652efb9f9fdc675d
BLAKE2b-256 134ce9b0708f93c61702d58378524500bf413c96c02104423366bdda1f998ff9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bot_hosting_wrapper-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 583b4fc40dfe7f37a171ef8961c885a1e529b1885b301cc8fbef0163763199ce
MD5 e0a1dfe442498badfa5159f0cb51682d
BLAKE2b-256 5e09db518c6e08695595c88c0a945988fac64443b5e9109c594e0959b085e1dc

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