Skip to content

Instantly share code, notes, and snippets.

@tbarbugli
Created August 14, 2018 07:27
Show Gist options
  • Save tbarbugli/a9df695e2aa6034257e6042b239692f7 to your computer and use it in GitHub Desktop.
Save tbarbugli/a9df695e2aa6034257e6042b239692f7 to your computer and use it in GitHub Desktop.
import stream
client = stream.connect(api_key, api_secret)
feed = client.feed('user', 'raji')
activity_adds = [a for a in feed.get(limit=100)['results'] if a['verb'] == 'add']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment