Skip to main content

Reactor.am python client

Project description

Reactor.am is the most important from marketing automation, crm and user analytics, in one easy to use service.

This is a python library for reactor.am API.

Installation

pip install reactor

Basic usage

import reactor
reactor.APPLICATION_ID = '<your_app_id_hash>'

response = reactor.collect({
    "session": 1405587905,
    "user_id": "661787707",
    "first_name_s": "John",
    "last_name_s": "Doe",
    "gender_g": "male",
    "share_facebook_b": False,
})

assert response.status_code == 200


response = reactor.event('order', {
    "user_id": "661787707",
    "product_s": "Gizmo",
    "price_f": 10.30
})

assert response.status_code == 200

Documentation

Full documentation can be found at docs.reactor.am

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
reactor-0.1.4.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page