RemoteAuthClient
Installing
Python 3.7 or higher is required
pip install remoteauthclient
Example
from asyncio import run
from remoteauthclient import RemoteAuthClient
c = RemoteAuthClient()
@c.event("on_fingerprint")
async def on_fingerprint(data):
print(f"Fingerprint: {data}")
print(f"QrCode url: https://api.qrserver.com/v1/create-qr-code/?size=256x256&data={data}")
@c.event("on_userdata")
async def on_userdata(user):
print(f"ID: {user.id}")
print(f"Username: {user.username}")
print(f"Discriminator: {user.discriminator}")
print(f"Avatar hash: {user.avatar}")
print(f"Name: {user.getName()}")
print(f"Avatar URL: {user.getAvatarURL()}")
@c.event("on_token")
async def on_token(token):
print(f"Token: {token}")
@c.event("on_cancel")
async def on_cancel():
print(f"Auth canceled!")
@c.event("on_timeout")
async def on_timeout():
print(f"Timeout")
@c.event("on_captcha")
async def on_captcha(captcha_data):
# captcha_data contains captcha_sitekey, captcha_service (hcaptcha), captcha_rqdata and captcha_rqtoken
print(f"Captcha!")
captcha_key = ... # Solve captcha and get captcha_key, you must provide captcha_sitekey and captcha_rqdata to solving service
return captcha_key
@c.event("on_error")
async def on_error(exc, client):
print(f"Error: {exc.__class__.__name__}")
if client.retries == 1:
await client.run_task()
run(c.run())
Proxy example
from remoteauthclient import RemoteAuthClient
c = RemoteAuthClient(proxy="127.0.0.1:8080")
# Or with auth
c = RemoteAuthClient(proxy="127.0.0.1:8080", proxy_auth={"login": "user", "password": "password"})
...
Metadata
Release files for remoteauthclient 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| remoteauthclient-1.4.0.tar.gz | 5.4 kB | Without provenance | Details for remoteauthclient-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| remoteauthclient-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for remoteauthclient-1.4.0-py3-none-any.whl |
Total release size: 11.3 kB
Release files / remoteauthclient-1.4.0.tar.gz
| Download URL | remoteauthclient-1.4.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85323188c2294f2f994610d7db52a6461763c96d3bc6520a21deb7b3d7dedc7f
|
|
BLAKE2b-256 checksum How to use checksums |
59510b3b4678d68bc8bbd4597e7ba26e4b62f1fc3f37f1530f915b6ab8f7b706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
|
Release files / remoteauthclient-1.4.0-py3-none-any.whl
| Download URL | remoteauthclient-1.4.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4f6f6dc355cea8bed3aa51c1b78f8613f5ef952a985b0c4a5df4d8482388309
|
|
BLAKE2b-256 checksum How to use checksums |
ef64fd502f9cee6ff93dd6665645e4153268ae484f7e9a08ce537da485b7c9a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
|
Security for remoteauthclient 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.