Metadata-Version: 2.4
Name: rubkey_login
Version: 1.0.2
Summary: The rubkey_login library for getting your account information in Rubika.
Home-page: https://github.com/codetansarian
Author: taha ansarianpour
Author-email: codetansarian@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.25.0
Requires-Dist: pycryptodome>=3.10.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

from rubkey_login import RubkeyLogin

client = RubkeyLogin()
client.login()

info = client.get_account_info()

print("=" * 50)
print("ACCOUNT INFORMATION")
print("=" * 50)
print(f"Phone: {info['phone']}")
print(f"User GUID: {info['user_guid']}")
print(f"First Name: {info['first_name']}")
print(f"Last Name: {info['last_name']}")
print(f"Username: {info['username']}")
print(f"Auth: {info['auth']}")
print(f"Private Key: {info['private_key']}")
print("=" * 50)

print(client.get_account_name())
print(client.get_auth())
print(client.get_guid())
