Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zkamo/requestcord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

requestcord

PyPI version info 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.11 or higher is required

To install the library, you can just run the following command:

Note

A Virtual Environment 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.

# Linux/macOS
python3 -m pip install -U requestcord

# Windows
py -3 -m pip install -U requestcord

Quick Example

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

About

Advanced Discord API wrapper with modern features

Topics

Resources

License

Stars

Watchers

Forks

Languages