Raider Reporter for Python. Used in pair with Raider, the Affiliates Tracker Page.
Smartphoniker |
Install with pip:
$ pip install py-raider-reporter
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)
ℹ️ Wondering what Vigil is? Check out valeriansaliou/vigil.