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 @vortexsys on discord, staff member but not developer 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 here

Changelog

Latest Changelog:

  • Added function descriptions
  • Tested for optimization as always
  • Fixed the README file once again

License

MIT License

Copyright (c) 2024 Vortex

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

Uploaded Source

Built Distribution

bot_hosting_wrapper-1.1.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bot_hosting_wrapper-1.1.3.tar.gz
Algorithm Hash digest
SHA256 a3cac1ccc1cb5dd0a44cf617fd689bde8d3baf7f88cf99fa875d08e09d589061
MD5 547c2a7d0c0124b980cc65b095a5c946
BLAKE2b-256 5c4389ee0b72385a72cd39c0dbf21be98d8825cbfdf40b5f6b6b631a68703783

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bot_hosting_wrapper-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14d6e450e112f442decea64ca2d9930ac76bd0377c1e3ee95f7ba0ead05860ed
MD5 6d42f0ce5b6c4163e762b176919b46d4
BLAKE2b-256 cc45ca893ed163b2e1acb8b52e46cd936db4606c75c5f089946d3b52d13befe4

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