AuthSys is a Python library for Memberships system.
You can install AuthSys using pip:
pip install AuthSys
from AuthSys import AuthSys
auth = AuthSys()
# Logging in with a key and access token
response = auth.login(key="your_key", access_token="your_access_token")
print(response)
# Registering a new user
response = auth.register(time="registration_time")
print(response)
# Removing a user using their key and authentication secret
response = auth.remove(key="user_key", secret_auth="user_secret_auth")
print(response)
# Editing user information
response = auth.edit(key="user_key", auth="user_auth", time="new_time")
print(response)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.