Advanced Discord API wrapper with modern features
Project description
requestcord
.. image:: https://img.shields.io/pypi/v/requestcord.svg :target: https://pypi.python.org/pypi/requestcord :alt: PyPI version info .. image:: https://img.shields.io/pypi/pyversions/requestcord.svg :target: https://pypi.python.org/pypi/requestcord :alt: PyPI supported Python versions
A modern, lightweight Discord API wrapper for Python focused on speed, simplicity, and clean request handling.
RequestCord is built for developers who want direct access to Discord’s REST API without heavy abstractions or browser automation.
Key Features
- Modern Pythonic SYNC API.
- Automatically generates Discord-compatible HTTP headers
- Structured, developer-friendly return objects
Installing
Python 3.10 or higher is required
To install the library, you can just run the following command:
.. note::
A `Virtual Environment <https://docs.python.org/3/library/venv.html>`__ is recommended to install
the library, especially on Linux where the system Python is externally managed and restricts which
packages you can install on it.
.. code:: sh
# Linux/macOS
python3 -m pip install -U requestcord
# Windows
py -3 -m pip install -U requestcord
Quick Example
.. code:: py
from requestcord import SyncClient, JoinGuildPayload
client = SyncClient()
resp = client.guilds.join(
payload=JoinGuildPayload(
invite_code="YOUR_INVITE_CODE",
token="YOUR_TOKEN"
)
)
print(resp.json())
Links
Documentation <https://requestcord.eu/>_Official Discord Server <https://discord.gg/hM5VE7XDKr>_
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
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
File details
Details for the file requestcord-2.0.2.tar.gz.
File metadata
- Download URL: requestcord-2.0.2.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
061068dc8e94154d4aa020cbdc6f5866cfc00eee4d3aa857213b5583527d8771
|
|
| MD5 |
7b74dd08c39b16321d41386b6e4b4ca1
|
|
| BLAKE2b-256 |
d0ed491fded20ae9e27d58292c0e4b5dc6fbad308bc9eb79af944e476731fbe3
|
File details
Details for the file requestcord-2.0.2-py3-none-any.whl.
File metadata
- Download URL: requestcord-2.0.2-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f25694efa5a5bf39dc1e022bd84179e7838bbf500c329cf47a181bad051ffc7
|
|
| MD5 |
5465acbfd33105f9999fc3f0ac91476c
|
|
| BLAKE2b-256 |
994f577c654e211f3d461b4d24c74ac2be0795b25ace2fe4b81506e2987d1cf7
|