Metadata-Version: 1.1
Name: ureactme
Version: 0.1.3
Summary: UReact.me API lib
Home-page: https://github.com/pappacena/
Author: Thiago F. Pappacena
Author-email: pappacena@gmail.com
License: MIT
Description: # UReact.me Python client
        
        ## Instalation
        
        It's on pip. Just `pip install ureactme` and it's done.
        
        ## 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
        
        
        # Send an event
        c.send_event("suggestion_click", "user_123", 10)
        ```
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
