Battle Sniper is a Python-based tool for automatically joining free battles on the Key-Drop platform.
This project uses Python 3.x and depends on several packages, such as colorama, requests, and toml.
Installation
-
Make sure you have Python 3.x installed on your machine.
-
Clone the repository:
git clone https://github.com/NixV37/keydrop-battle-sniper.git
then:
cd keydrop-battle-sniper
Install the required Python packages:
pip install -r requirements.txt
session_id
: Login into https://key-drop.com, then open developer tab, go into application, cookies and copy session_id value.
steam_user_id
Your steam user id, steam has a guide on how to get it.(https://help.steampowered.com/en/faqs/view/2816-BE67-5B69-0FEC).
max_ticket_cost
: Max ticket price to join a giveaway.
use_token (not recomended)
: true or false, enabling it will ask for token instead of using session_id.
auto_open_joined_battles
: Opens a browser with the battle so that u can see it when joined.
delay
: Delay for every battle scrape.
- Login into your browser and go into this site:
https://key-drop.com/es/token
- Copy the whole text.
-
Edit the
config.toml
file to set your desired options. -
Run the
main.py
script:
python main.py
Follow the prompts to input your token and start sniping battles.
Contributions are welcome! To contribute, fork the repository, make your changes, and submit a pull request.
- Make it use websocket instead of refreshing it every time. ✅
- Use session_id instead of token. ✅
- Make the won checker work. ✅
- Add case filter ✅
- Add user filter ✅
- Add queue system. 🔃