Skip to content

M0r13n/py-raider-reporter

Repository files navigation

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.

About

Raider Reporter module for Python 3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages