Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 665 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 665 Bytes

nytwit

Getting started

  1. Copy conf/conf.example.json to conf/conf.json
  2. Sign up for a New York Times API key
  3. Fill out the key and secret in conf/conf.json (gitignored so no worries about checking in credentials)
  4. Ignore Twitter auth stuff; decided to scrape public Twitter pages
  5. In some appropriate environment (virtual or otherwise), run pip install -e . from the root directory of the project
  6. In python, run import nytwit(yes, I know this is insanity, feel free to pull out into a different script)

The code currently grabs data starting from January 1, 2019 (see line 32 in nytwit/__init.py__