Skip to content

simonlindgren/2wttr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2wttr

Get tweets from the v2 Twitter API, using Academic access.

Current functionality:

  • Collect tweets from the full archive search endpoint.

2wttr_fas.py

Full archive search. Academic access allows for 10M tweets to be collected per month. Keep track on the developer portal.

  1. Provide your bearer token and parameters in config_fas.py.
  2. $ python3 2wttr_fas.py.

Requests will be done in batches of 100 tweets per page, and paginate until no more tweets are returned. Results will be saved as dataset.jsonl.

Format data

Run $ python3 parse.py to convert dataset.jsonl to a tidier version.

About

Get tweets from the v2 Twitter API, using Academic access.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages