Skip to main content

Client for Rio.

Project description

rio-client

Example:

In [1]: from rio_client import *

In [2]: client = Client('http://mysender:replace-token@rio.intra.yourcorp.com/1/myproject')

In [3]: client.emit('post-comment-published', {'content':'Spam','content_id':1})
Out[3]:
{'event_uuid': u'966812c3-6f2f-4155-a733-5054f75265f1',
 'is_success': True,
  'message': u'ok',
   'task_id': u'81ca44c4-cbf6-43eb-ab39-c26159d7379f'}

HISTORY

0.2.2

  • typofix for flask extentions.

0.2.1

  • bugfix for wrong flask conf item.

0.2.0

  • add flask contrib

  • add scrapy contrib

0.1.2

  • bugfix for rio dsn parser

0.1.1

  • add extra option for client

0.1.0

  • initial release

Supported by

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