A Python package to bypass cloudflare on kick.com
Project description
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
Project details
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 kscraper-1.1.6.tar.gz.
File metadata
- Download URL: kscraper-1.1.6.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a90320b3410e69df4d296a0f7b8bb2fbf6fe3f0f0964cdec0d772dfe57162a28
|
|
| MD5 |
b691fdeeba252f50a6eee4f7406c995a
|
|
| BLAKE2b-256 |
7d8700b80b396b53292e08ef6b962f350c559f4917ce32727f56587bc0b433c3
|
File details
Details for the file kscraper-1.1.6-py3-none-any.whl.
File metadata
- Download URL: kscraper-1.1.6-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91c318307b1804faab7e72bafd8ce7aee4b38c9d2a527a0561ca6cfa2a05deb3
|
|
| MD5 |
70c1783a347aa69608e11a904e39cab9
|
|
| BLAKE2b-256 |
aefc4fec8be66427bfe9321329ba98d2da3b62677639e3b61801b6d20b430ffd
|