Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.45 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.45 KB

py-raider-reporter

PyPI license codecov downloads

Raider Reporter for Python. Used in pair with Raider, the Affiliates Tracker Page.

Who uses it?

Smartphoniker

How to install

Install with pip:

$ pip install py-raider-reporter

How to use

raider-reporter can be instantiated as such:

SAMPLE_CONFIG = {
    "host": "affiliates.example.shop",
    "track_token": "REPLACE_THIS_WITH_A_SECRET_TRACK_TOKEN",
}

reporter = RaiderReporter.from_config(SAMPLE_CONFIG)

# track payment
reporter.track_payment(SAMPLE_TRACKER_ID, 10.0)

# track signup
reporter.track_signup(SAMPLE_TRACKER_ID)

What is Raider?

ℹ️ Wondering what Vigil is? Check out valeriansaliou/vigil.