🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

twitterpeel

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitterpeel

Twitter frontend API scraper

0.2.0
PyPI
Maintainers
1

=========== twitterpeel

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.

.. _twitter-scraper: https://github.com/kennethreitz/twitter-scraper .. _requests-html: https://html.python-requests.org

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 <https://github.com/kylepw/twitterpeel/blob/master/LICENSE>_

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts