Skip to main content

UReact.me API lib

Project description

# UReact.me Python client

## Usage

```python
from ureactme import Client
from ureactme.models import Metric, User, Event

c = Client("put your token here")

# Get the list of Metrics sent by users:
metrics = c.get_object_list(Metric)
for m in metrics:
print m.id

# Get the list of Users, and print his ID, the data and the auto-collected data
users = c.get_object_list(User)
for u in users:
print u.id, u.data, u.auto_data

# Get the list of events of a certain type sent by the user in a given day
u = User(id="user_id_test")
for e in u.get_events('redbutton_click', '2016-05-18'):
print e.created_at, e.value, e.data
```

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

ureactme-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file ureactme-0.1.2.tar.gz.

File metadata

  • Download URL: ureactme-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ureactme-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5016bf0c066c1619904c40800ff3de71bc501e996cf25cf3068b86e7967b0224
MD5 1e31b61dc9fb099f6c1f590f39e71617
BLAKE2b-256 b27fe70119e9cb94eb3f67ed915d5f1dabc4b4b574705e1416a0228479558387

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