Skip to main content

Twitter frontend API scraper

Project description

twitterpeel is a Twitter frontend API scraper based on Kenneth Reitz’s twitter-scraper. I originally wrote it because twitter-scraper was not compatible with Python 3.7.

Features

  • No Twitter API authentication necessary.
  • Fast.

Requirements

  • Python 3.6 or higher

Installation

$ pip3 install twitterpeel

or

$ git clone git@github.com:kylepw/twitterpeel.git && cd twitterpeel

Usage

>>> from twitterpeel import get_tweets
>>>
>>> for t in get_tweets('MISTERMORT', pages=3):
...     print(t['tweetid'], t['text'])
...
1108565146019000321 i wonder if neiman marcus missed me...
1108521311863738369 Today is the day of spring equinox AND a full moon...
1108442303465697281 forgot what i was going to say
...

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for twitterpeel, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size twitterpeel-0.2.0-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size twitterpeel-0.2.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page