Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferguras/twitter-analysis
Scrape the Twitter Frontend API without authentication.
https://github.com/ferguras/twitter-analysis
Last synced: 3 months ago
JSON representation
Scrape the Twitter Frontend API without authentication.
- Host: GitHub
- URL: https://github.com/ferguras/twitter-analysis
- Owner: ferguras
- License: mit
- Created: 2018-03-19T20:52:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:12:25.000Z (almost 2 years ago)
- Last Synced: 2024-07-10T12:50:28.032Z (4 months ago)
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 24
- Watchers: 1
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
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