Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomkdickinson/a40138f71ab4ec3e062446c580ba373d to your computer and use it in GitHub Desktop.
Save tomkdickinson/a40138f71ab4ec3e062446c580ba373d to your computer and use it in GitHub Desktop.
Example Query
rate_delay_seconds = 0
error_delay_seconds = 5
threads = 5
select_tweets_since = datetime.datetime.strptime("2017-04-01", '%Y-%m-%d')
select_tweets_until = datetime.datetime.strptime("2017-04-30", '%Y-%m-%d')
twitSlice = TwitterSlicer(rate_delay_seconds, error_delay_seconds, select_tweets_since, select_tweets_until,
threads)
twitSlice.search("@united")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment