Skip to main content

nulled.to release authentication package for python

Project description

Nulled.to releases authentication module for python

PyPi Package

Requirements

  • Python 3.6+

Installation

  • Install with pip: pip install nulled-auth

Documentation

  1. Download and install the package from pypi.com with pip install nulled-auth
  2. Include the package in your project:
  • from nulled_auth import auth
  1. 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
    • program_secret :
      • Definition:
        • Program secret provided by staff
      • Type:
        • string
      • Default value:
        • No default value
  • 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
    • minimum_likes (Default: 0):

      • Definition:
        • Minimum number of likes to access application
      • Type:
        • integer
      • Default value:
        • 0
    • both_requirements

      • Definition:
        • if True
          • Will make mandatory both minimum_group and minimum_likes requirements
        • if False
          • Will authenticate if it haves one of the 2 requirements minimum_group or minimum_likes
      • Type:
        • boolean
      • Default value:
        • True
  1. Check if key is valid for the authentication authentication.get_auth(key)
  • Returns boolean, [string]
  • First return value:
    • Either if it has passed the authentication process or not True or False
  • 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


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

nulled_auth-1.7.5-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

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