An API wrapper for the ERLC API
Project description
ERLC Client Example
Setting Up
Initialize the ERLC Client
import asyncio
import logging
from ERLC.erlc import client
erlc_client = client()
Connect to the ERLC Client
server_key = 'your_server_key'
global_key = 'your_global_key'
await erlc_client.config(server_key, global_key)
if erlc_client.connected:
print("Connected to ERLC!")
else:
print("Failed to connect to ERLC.")
Example Usage
server_key = 'your_server_key'
global_key = 'your_global_key'
await erlc_client.config(server_key, global_key)
if erlc_client.connected:
print("Connected to ERLC!")
else:
print("Failed to connect to ERLC.")
bans = await erlc_client.server.bans()
print(bans)
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 Distribution
ERLC-1.3.6.tar.gz
(3.8 kB
view details)
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
ERLC-1.3.6-py3-none-any.whl
(9.4 kB
view details)
File details
Details for the file ERLC-1.3.6.tar.gz.
File metadata
- Download URL: ERLC-1.3.6.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd60086e3e9fcd4520b6a9e74f421d194f65a3e9b6eee1fb287b2086288b760b
|
|
| MD5 |
18fdb32cf35b40f17c76a70c15728e74
|
|
| BLAKE2b-256 |
0a31c67e57e2e49e5572ef139e093fbdfed295a427276a87e3792a0f4f9d5266
|
File details
Details for the file ERLC-1.3.6-py3-none-any.whl.
File metadata
- Download URL: ERLC-1.3.6-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6623da8436789a6f6234a7c2ab7abb9d282dc91f2a566d61275cc86b6b4c3f47
|
|
| MD5 |
bad52b3e4dfa0a7e1224c9a92718495b
|
|
| BLAKE2b-256 |
921f0a39423fb297dde23c530f66537156aebb4e588a343cd92e89f2c8b2d1fe
|