Kscraper
Kscraper is a Python package for interacting with Kick.com APIs. It allows you to fetch emotes, leaderboards, messages, polls, and more.
Installation
pip install Kscraper
Usage
from Kscraper import Client
from Kscraper import Logger
client = Client()
log = Logger()
log.succ("example")
log.error("example")
log.info("example")
log.warn("example")
# Get emotes for a user
emotes = client.get_emotes("example_user")
print(emotes)
# Get leaderboard
leaderboard = client.get_leadboard("example_user")
print(leaderboard)
# Get messages from a channel
messages = client.get_messages(123456)
print(messages)
Available Methods
get_emotes(username: str): Fetch emotes for a user.get_leadboard(username: str): Fetch leaderboard data.get_messages(user_id: int): Fetch chat messages from a channel.get_current_poll(username: str): Fetch the current poll for a channel.get_top_category(): Fetch the top category on Kick.com.get_featured_streams(page=1,100): Fetch featured livestreams.get_channel(username: str): Fetch channel details.get_chatroom(username: str): Fetch chatroom details.get_rules(username: str): Fetch chatroom rules.send_chat(user_id: int, token: str, content: str): Send a chat message.
License
This project is licensed under the MIT License.
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Author
ChardWTF - GitHub
Metadata
Release files for Kscraper 1.2.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 | |
|---|---|---|---|---|
| kscraper-1.2.0.tar.gz | 3.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kscraper-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / kscraper-1.2.0.tar.gz
| Download URL | kscraper-1.2.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bb4e8e691b2fe115170f7cc43f7bd313966e021144ae93f86e63771e7700640
|
|
BLAKE2b-256 checksum How to use checksums |
3c3618054d8c384979a36cbff56ed99351c4fb840aacaab45d7b2258c772935d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / kscraper-1.2.0-py3-none-any.whl
| Download URL | kscraper-1.2.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
928d0f7bc3130b13483183c8e9b1d20589c6f59301f3c486104958873544b7e3
|
|
BLAKE2b-256 checksum How to use checksums |
652470aa5b89b2ad4ee0817c1f80bab70999773e760df02dbcb002100203d5b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for Kscraper 1.2.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.