Skip to content

Releases: DocNow/twarc

v1.0.3

14 Jan 12:23
Compare
Choose a tag to compare

Includes a new dehydrate command for generating an id list from a file of tweets:

twarc dehydrate tweets.json > tweet-ids.txt

Thanks for putting in the work on this @hugovk!

v1.0.2

31 Dec 16:38
Compare
Choose a tag to compare

Added --warnings back in order to send rate limit warnings to stdout with tweets.

v1.0.1

01 Dec 01:59
Compare
Choose a tag to compare

This is a quick follow on release to get a fix out for #120 which @dunn noticed. It's a small change that lets you use the version and help commands before giving twarc your twitter keys.

v1.0.0

29 Nov 21:26
Compare
Choose a tag to compare

🎉 Finally a v1.0.0 release. It was a long time coming. 🎉

While the functionality inside of twarc the module has remained pretty much the same in this release, the command line interface has changed significantly to use the subcommand style instead of leaning so heavily on command line options.

So what this means is before when you did something like this:

twarc.py --search blacklivesmatter > tweets.json

you will now do this:

twarc search blacklivesmatter > tweets.json

and similarly:

twarc filter blacklivesmatter > stream.json
twarc followers deray > user-ids.txt
twarc friends Nettaaaaaaaa > user-ids.txt
twarc help 
twarc hydrate ids.txt > tweets.json
twarc retweets 20 > retweets.json
twarc sample > stream.json
twarc timeline deray > tweets.json
twarc trends 2486982 > trends.json
twarc users user-ids.txt > users.json

See twarc help for all the details and options.

v0.8.2

20 Oct 15:02
Compare
Choose a tag to compare

This release includes two new command line options and similarly named Twarc methods: friend_ids and follower_ids. You can use them to lookup user ids for accounts that follow a given Twitter user, or that a given Twitter user follows.

% twarc.py --follower_ids HillaryClinton > followers.txt

or

% twarc.py --friend_ids HillaryClinton > friends.txt

Thanks to @dchud for the contribution!

v0.8.1

15 Sep 20:42
Compare
Choose a tag to compare

Some new functionality:

  • --http_errrors and --connection_errors to control how many times to keep trying after low level connection errors. Thanks @justinlittman!
  • --geocode to limit search results to a particular location & radius. Thanks @chosak!
  • utils/geofilter.py for filtering in/out tweets with any geo information or geo information within a particular fence. Thanks @chosak again!

v0.7.0

09 Jun 21:16
Compare
Choose a tag to compare

Lotsa new functionality from the good folks at @gwu-libraries.

  • fetch sample stream
  • fetch user timeline
  • fetch user profile (by user id and screen name)

v0.6.2

01 Jun 14:54
Compare
Choose a tag to compare

Includes new functionality to catch intermittent gzip encoding errors coming from the Twitter API during hydration. Thanks @lwrubel!

v0.6.1

02 Apr 13:24
Compare
Choose a tag to compare

This release includes a new command line option --result_type for search operations. It currently only applies to search operations:

% twarc.py --search obama --result_type recent

Possible values are recent, mixed and popular. The default value is recent. For more information about the meaning of these value please consult the Twitter Search API documentation.

The result_type is also made available programmatically as a parameter on the Twarc.search method. Thanks to @dchud for this contribution.

v0.5.2

15 Jan 21:22
Compare
Choose a tag to compare

New release to fix incomplete upload to PYPI.