nulled.to release authentication package for python
Project description
Nulled.to releases authentication module for python
Requirements
- Python 3.6+
Installation
- Install with pip:
pip install nulled-auth
Documentation
- Download and install the package from pypi.com with
pip install nulled-auth
- Include the package in your project:
from nulled_auth import auth
- Create a new object
authentication = auth.Auth(program_id='', program_secret='', minimum_group=auth.Ranks.NONE, minimum_likes=0, both_requirements=False)
- Mandatory fields:
- program_id :
- Definition:
- Program id provided by staff
- Type:
- string
- Default value:
- No default value
- Definition:
- program_secret :
- Definition:
- Program secret provided by staff
- Type:
- string
- Default value:
- No default value
- Definition:
- program_id :
- Optional fields:
-
minimum_group
- Definition:
- Minimum user group to access application
- Type:
Enum
auth.Ranks.NOVA
auth.Ranks.AQUA
auth.Ranks.VIP
auth.Ranks.NONE
- Default value:
auth.Ranks.NONE
- Definition:
-
minimum_likes (Default: 0):
- Definition:
- Minimum number of likes to access application
- Type:
integer
- Default value:
0
- Definition:
-
both_requirements
- Definition:
- if
True
- Will make mandatory both
minimum_group
andminimum_likes
requirements
- Will make mandatory both
- if
False
- Will authenticate if it haves one of the 2 requirements
minimum_group
orminimum_likes
- Will authenticate if it haves one of the 2 requirements
- if
- Type:
boolean
- Default value:
True
- Definition:
-
- Check if
key
is valid for the authenticationauthentication.get_auth(key)
- Returns
boolean, [string]
- First return value:
- Either if it has passed the authentication process or not
True
orFalse
- Either if it has passed the authentication process or not
- Second value value:
- In case of not passing the authentication it returns an array of 1 or more messages of why it didnt authenticate
- In case of passing the authentication it returns an array with one message with the text:
Success!
Getting help
- In case there is any problem or cant get it to work, send a PM to 0x69 on Nulled.to
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for nulled_auth-1.7.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c2641c44c5f57406ecf1be60408270d9f0294b367e4232d984974c5b49f80c1 |
|
MD5 | 252400f925a5f7da85ede9eb618abb53 |
|
BLAKE2b-256 | 794425ec48050f0d106f7df981e9fb1e5b4da9ceb7e28c209e147eaf2f2b4770 |