A simple scraper for Twitter (requires Python >= 3.6)

theenglishway (time) 8d7ffbee9d Update README with some basic instructions před 7 roky
.github 4935b1edbf Initial commit před 7 roky
docs 4935b1edbf Initial commit před 7 roky
tests 2d5db0e897 Some renaming před 7 roky
twhatter 7c4f441828 Add loop break in Client for profile před 7 roky
.editorconfig 4935b1edbf Initial commit před 7 roky
.gitignore 4935b1edbf Initial commit před 7 roky
.travis.yml 4935b1edbf Initial commit před 7 roky
AUTHORS.rst 4935b1edbf Initial commit před 7 roky
CONTRIBUTING.rst 4935b1edbf Initial commit před 7 roky
HISTORY.rst 4935b1edbf Initial commit před 7 roky
LICENSE 4935b1edbf Initial commit před 7 roky
MANIFEST.in 4935b1edbf Initial commit před 7 roky
Makefile 4935b1edbf Initial commit před 7 roky
Pipfile 18ddad72c5 Add basic database recording před 7 roky
Pipfile.lock 4935b1edbf Initial commit před 7 roky
README.rst 8d7ffbee9d Update README with some basic instructions před 7 roky
setup.cfg 8b53716bef Add CLI and parser tests před 7 roky
setup.py 4935b1edbf Initial commit před 7 roky
tox.ini 4935b1edbf Initial commit před 7 roky

README.rst

========
Twhatter
========


A simple scraper for Twitter

Installation
------------

..highlight: shell

$ pip install -e git+https://code.theenglishway.eu/theenglishway-corp/twhatter

Use
---

Display some user's tweets

..highlight: shell

$ twhatter timeline realDonaldTrump --limit 10











Put them into a local database (by default in /tmp/db.sqlite)

..highlight: shell

$ twhatter db timeline realDonaldTrump

Open a session on the local database and make queries with SQLAlchemy

..highlight: shell

$ twhatter db shell

..highlight: python

In [1]: session.query(Tweet).all()
Out[1]:
[