Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thealtening-1.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

thealtening-1.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file thealtening-1.1.0.tar.gz.

File metadata

  • Download URL: thealtening-1.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for thealtening-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c7001e52c94005cde79786780420c959ea77a2c37f42407c9be021070aad3849
MD5 8c01edbd31b33b7ea0f5e0c48a4751f0
BLAKE2b-256 a432c04bad80d56d3ae9768ed10a44d20c2afb1489a702772dc52883c5bc8ae0

See more details on using hashes here.

File details

Details for the file thealtening-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: thealtening-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for thealtening-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71d463a9efa17857ac5bb26a39fa067bb4842f102e47606131d66d9fc608378c
MD5 a3a5a3e370a276df477a173cb6021523
BLAKE2b-256 fa3c6e2d84d8c5289763d763c73f906f47ae224c68f4a6ba660ce4dc059cca2a

See more details on using hashes here.

Supported by

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