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:
Enumauth.Ranks.NOVAauth.Ranks.AQUAauth.Ranks.VIPauth.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_groupandminimum_likesrequirements
- Will make mandatory both
- if
False- Will authenticate if it haves one of the 2 requirements
minimum_grouporminimum_likes
- Will authenticate if it haves one of the 2 requirements
- if
- Type:
boolean
- Default value:
True
- Definition:
-
- Check if
keyis valid for the authenticationauthentication.get_auth(key)
- Returns
boolean, [string] - First return value:
- Either if it has passed the authentication process or not
TrueorFalse
- 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nulled_auth-1.7.5-py3-none-any.whl.
File metadata
- Download URL: nulled_auth-1.7.5-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2641c44c5f57406ecf1be60408270d9f0294b367e4232d984974c5b49f80c1
|
|
| MD5 |
252400f925a5f7da85ede9eb618abb53
|
|
| BLAKE2b-256 |
794425ec48050f0d106f7df981e9fb1e5b4da9ceb7e28c209e147eaf2f2b4770
|