Example #1
0
def handle_new_event(event):
  if features.use_twitter():
    LOGGER.info('handle_new_event: dispatching to twitter ..')
    twitter_tasks.tweet_event(event)
  else:
    LOGGER.info('handle_new_event: twitter not enabled, skipping.')

  if features.use_foursquare():
    LOGGER.info('handle_new_event: dispatching to foursquare ..')
    foursquare_tasks.checkin_event(event)
  else:
    LOGGER.info('handle_new_event: foursquare not enabled, skipping.')

  if features.use_untappd():
    LOGGER.info('handle_new_event: dispatching to untappd ..')
    untappd_tasks.checkin_event(event)
  else:
    LOGGER.info('handle_new_event: untappd not enabled, skipping.')
Example #2
0
def handle_new_event(event):
    twitter_tasks.tweet_event(event)
    foursquare_tasks.checkin_event(event)
    untappd_tasks.checkin_event(event)
Example #3
0
def handle_new_event(event):
  twitter_tasks.tweet_event(event)
  foursquare_tasks.checkin_event(event)
  untappd_tasks.checkin_event(event)
  jive_tasks.post_activity(event)
Example #4
0
def handle_new_event(event):
  twitter_tasks.tweet_event(event)
  foursquare_tasks.checkin_event(event)
  untappd_tasks.checkin_event(event)