Mercari Scanner
Installation
pip
pip install mercari-scanner
python3 -m mercariscanner --slack-token xoxb-blah-blah -h
Docker
docker pull chadbowman0/mercari-scanner:latest
docker run chadbowman0/mercari-scanner:latest --slack-token xoxb-blah-blah -h
Local (with config.ini)
git clone https://github.com/ChadBowman/mercari-scanner.git ~/mercari-scanner
python3 -m venv ~/mercari-scanner/env && source ~/mercari-scanner/env/bin/activate
python3 -m pip install ~/mercari-scanner
Usage
usage: __main__.py [-h] [--min-price MIN_PRICE] [--max-price MAX_PRICE] [--delay DELAY] [--slack-token SLACK_TOKEN]
[--slack-channel SLACK_CHANNEL] [--tiers TIERS] [--start-stop-alert | --no-start-stop-alert]
keyword
positional arguments:
keyword Mercari search keyword
options:
-h, --help show this help message and exit
--min-price MIN_PRICE
Amount in dollars to filter out items less than min-price
--max-price MAX_PRICE
Amount in dollars to filter out items more than max-price
--delay DELAY Time in seconds to wait before the next scan (default: 60)
--slack-token SLACK_TOKEN
Slack API token
--slack-channel SLACK_CHANNEL
Slack channel to publish alerts to
--tiers TIERS Semi-colon-separated key-value pairs that define tier message templates. A template will be used if an item
is less than or equal to the amount.Example: "420=Wow! {name} is an amazing deal! Only ${price}; 1000=Hey
check out this less cool deal{newline}{url}". Available variables: price, name, url, newline
--start-stop-alert, --no-start-stop-alert
Alert when scanner starts and stops
Alerters
Slack
Pass the --slack-token argument:
python3 -m mercariscanner --slack-token xoxb-blah-blah --slack-channel mercari "pokemon pillows"
or
Modify config.ini to include your Slack API bot token and the channel you want to alert to:
[slack]
token = xoxb-blah-blah
channel = mercari
Metadata
Release files for mercari-scanner 0.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 | Actions |
|---|---|---|---|---|
| mercari-scanner-0.2.0.tar.gz | 7.3 kB | Without provenance | Details for mercari-scanner-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mercari_scanner-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for mercari_scanner-0.2.0-py3-none-any.whl |
Total release size: 16.3 kB
Release files / mercari-scanner-0.2.0.tar.gz
| Download URL | mercari-scanner-0.2.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3009831e1098478f7af5c5c9d170986f6399f831ce3a5111e2b27373f6c83e2
|
|
BLAKE2b-256 checksum How to use checksums |
335517e91c875af314ef4a9742309be62e2ac44c9ec66c09d530b37b1fcf1410
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.0
|
Release files / mercari_scanner-0.2.0-py3-none-any.whl
| Download URL | mercari_scanner-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f260aa880602be78513cf445ad92a49f9a249342a4166325a9d282ead2f088d4
|
|
BLAKE2b-256 checksum How to use checksums |
f1f77b3b3b7a926a7e561ef1d59888e76dd073129a8bf6c3a2819e240f9ad3a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.0
|
Security for mercari-scanner 0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.