Sha256: 009e7c19de007dbef113e628e695b3ff5bc3f75f4cdc41e89b72d3798a792dc6
Contents?: true
Size: 335 Bytes
Versions: 12
Compression:
Stored size: 335 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 # tested on 1.9.x require "pupil/stream" require "yaml" oauth_key = { :consumer_key => "", :consumer_secret => "", :access_token => "", :access_token_secret => "" } ps = Pupil::Stream.new oauth_key ps.start :userstream do |status| puts "#{status.user.screen_name}: #{status.text}" end
Version data entries
12 entries across 12 versions & 1 rubygems