Socket
Socket
Sign inDemoInstall

twitter-analysis

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    twitter-analysis

Get tweets from the Twitter Frontend API.


Maintainers
1

Readme

Twitter Analysis

Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has it's own API, which Kennethreitz reverse–engineered. No API rate limits. No restrictions. Extremely fast.

You can use this library to get the text of any user's Tweets and use the results for analysis.

Usage

.. code-block:: pycon

>>> from twitter_analysis import get_tweets

>>> for tweet in get_tweets('kennethreitz', tweets=100):
>>>     print(tweet)
P.S. your API is a user interface
s3monkey just hit 100 github stars! Thanks, y’all!
I’m not sure what this /dev/fd/5 business is, but it’s driving me up the wall.
…

It appears you can ask for up to 450 tweets reliably (25 html pages).

Installation

.. code-block:: shell

$ pipenv install twitter-analysis

Only Python 3.6+ is supported

LICENSE

MIT

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc