An unofficial python package for thealtening's API
Project description
An unofficial python package made for https://thealtening.com/ The API supports basic and premium plans ONLY
class thealtening.API()
parameters:
apikey - REQUIRED - thealtening's API key needed to generate/favorite/private accounts (found here: https://panel.thealtening.com/#account)
password="password" - Optional - the password given to the account's login (12345-12345@alt.com:Password)
verify=True - Optional - Verifies the account's API key by requesting the license from https://api.thealtening.com/v1/license, prints the error if one is given
file=None - Optional - The file your accounts generated (using API.generate()) will be stored in
license()
Requests the license affiliated with the API key (defined above)
Returns the account info or an error (if one is given)
generate()
Generates an account using thealtening's API
Returns the account generated
parameters:
repeat=1 - Optional - How many accounts will be generated (if more than one, it returns a list)
login=False - Optional - Logs you into the account to get the UUID and the full username
info=False - Optional - Requests more info from thealtening's API
file=None - Optional - The file your accounts will be stored in (if none, will keep the file same as the one defined in thealtening.API()
favorite()
"favorites" the last account generated in the program
Returns nothing or an error (if one is given)
parameter:
atoken=None - Optional - "Favorites" that account instead of the last one generated
private()
"privates" the last account generated in the program
Returns nothing or an error (if one is given)
parameter:
atoken=None - Optional - "Privates" that account instead of the last one generated
alt_login()
logs you into an account and returns the response from https://authserver.thealtening.com/authenticate
parameter:
atoken=None - Optional - Logs you into that account instead of the last one generated
set_API()
Sets your api to the one provided
parameters
apikey - REQUIRED - thealtening's API key needed to generate/favorite/private accounts (found here: https://panel.thealtening.com/#account)
verify=True - Optional - Verifies the account's API key by requesting the license from https://api.thealtening.com/v1/license, prints the error if one is given
status()
Returns the status of https://authserver.thealtening.com/ and https://sessionserver.thealtening.com/
I am not affiliated with thealtening in any way.l
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for thealtening-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71d463a9efa17857ac5bb26a39fa067bb4842f102e47606131d66d9fc608378c |
|
MD5 | a3a5a3e370a276df477a173cb6021523 |
|
BLAKE2b-256 | fa3c6e2d84d8c5289763d763c73f906f47ae224c68f4a6ba660ce4dc059cca2a |