-
Notifications
You must be signed in to change notification settings - Fork 8
Coding Usage
Vortex edited this page Jan 18, 2024
·
19 revisions
First things first, 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);
Generally define the next line in your code:
from bot_hosting_wrapper import *
auth_id= "your_authorization_key"
acc = Account(auth_id)
serv = Server(auth_id)
Show all Servers and some Information about them:
serv.show()
View general information about a Server:
serv.get_info()
Change your server's Coding Language:
serv.change_language()
//Optionally like this (already including the new coding language)
//change_language(auth_id, language="example") //options: java, python, nodejs, lua, deno, nodemon
Getting genuine Account Information:
acc.about()
Checking if AUTH ID is valid:
acc.id_check()
Getting your current coins amount:
acc.coins_amount()
Getting a new SFTP Password:
acc.sftp_pass()