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.

Source Distribution

reactor-0.1.3.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file reactor-0.1.3.tar.gz.

File metadata

  • Download URL: reactor-0.1.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for reactor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 95bc3b1deb2e8eeda344e1e72fd9fbf2cd8641d8c76cf898dbaa54d82d309e5d
MD5 e6f8632d40a994c7c280657259678bd4
BLAKE2b-256 9da0911468d354e8af42d074ae6d7cb7d150d7ae845d01eda716b14cb58e23ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page