Skip to content

beamalsky/nytquestions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—ž nytquestions

What questions is the New York Times asking today?

A Twitter bot inspired by this tweet from Jer Thorp, as well as @NYT_first_said and @nyt_diff. Checks the Times Wire API every 10 minutes for new questions.

Uses Python, tweepy, and a Github Action. S/o to this post by Emily Cain for the guiding method.

Requirements

Running the app locally

To get started, run the following from your terminal:

  1. Clone this repository and cd into your local copy.
git clone git@github.com:beamalsky/nytquestions.git
cd nytquestions
  1. Switch the LOCAL_DEVELOPMENT variable in bot.py to True

  2. Rename secrets_example.py to secrets.py:

mv secrets_example.py secrets.py
  1. You'll need your own Twitter and NYT API keys. Get them and fill them in to your new secrets.py file.

  2. Run the app locally!

docker-compose run --rm app python bot.py

About

๐Ÿ—ž What questions is the @nytimes asking today?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published