Skip to main content

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

kscraper-1.1.9.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kscraper-1.1.9-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file kscraper-1.1.9.tar.gz.

File metadata

  • Download URL: kscraper-1.1.9.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

Hashes for kscraper-1.1.9.tar.gz
Algorithm Hash digest
SHA256 82d4de4f476226d6a5af157b4d290bf1a5c1059934c7a2c0ae7901c639b0e9f3
MD5 43ea5e50dea12dac518fe2c1b4c9420d
BLAKE2b-256 c39ecbbbd52bb9b30cae51d8692ba668fdb2a12a3a4d88a652dcdd01321d0e9c

See more details on using hashes here.

File details

Details for the file kscraper-1.1.9-py3-none-any.whl.

File metadata

  • Download URL: kscraper-1.1.9-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

Hashes for kscraper-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ed308d1a17810439eb0e74d0fcc2b32caed66b84c0aa1f9f62e0238c6fb66a39
MD5 c26d3effc44fc09e4582c3f0c222bf79
BLAKE2b-256 a6ba43b66b48216cd2759716f64e9abff9e99d4eee3f937b850bbeffc8a1ee06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page