I have a CLI tool (written in Python) called twitter-to-sqlite which imports Tweets into a SQLite database - it's a really fun source of data to play with: <a href="https://datasette.io/tools/twitter-to-sqlite" rel="nofollow">https://datasette.io/tools/twitter-to-sqlite</a>
I wrote a Postgres FDW in Go to query Twitter using SQL - <a href="https://hub.steampipe.io/plugins/turbot/twitter" rel="nofollow">https://hub.steampipe.io/plugins/turbot/twitter</a><p>(Steampipe is an open source CLI to query cloud APIs using SQL. No DB required!)