Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasus20202/skinport-bot
Skinport bargain bot, with Web UI and Discord webhook support
https://github.com/nasus20202/skinport-bot
Last synced: 18 days ago
JSON representation
Skinport bargain bot, with Web UI and Discord webhook support
- Host: GitHub
- URL: https://github.com/nasus20202/skinport-bot
- Owner: Nasus20202
- Created: 2024-03-28T20:17:22.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-29T10:59:20.000Z (10 months ago)
- Last Synced: 2024-04-10T00:42:26.813Z (10 months ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skinport Bot
Simple bot for Skinport API, includes WEB UI (default port: 5000). It also supports Discord Webhooks.
Start as Python script:
```bash
python3 src/main.py
```or a Docker container:
```bash
docker compose up
```App will be available at port 5000 (http://localhost:5000/).
### Configuration
You can set the following environment variables:
```
WEBHOOK_URLS=https://discord.com/api/webhooks/...;https://discord.com/api/webhooks/...
MINIMUM_DISCOUNT=10
MIN_PRICE=0
MAX_PRICE=1000
CURRENCY=EUR
TAGS=Knifel;Pistol;Rifle
```You can use a `.env` file, shell environment variables or `docker-compose.yml` file.
| Variable | Description | Example |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| WEBHOOK_URLS | Discord Webhook URLs separated by semicolon | https://discord.com/api/webhooks/...;https://discord.com/api/webhooks/... |
| MINIMUM_DISCOUNT | Minimum discount for items | 10 |
| MIN_PRICE | Minimum price for items | 0 |
| MAX_PRICE | Maximum price for items | 1000 |
| CURRENCY | Currency for items | EUR |
| TAGS | Tags for items, separated by semicolon, at least one tag must be matched for the sale to be approved, if empty all sales will be approved | Knifel;Pistol;Rifle |