Skip to main content

Get tweets from the Twitter Frontend API.

Project description


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


Project details


Download files

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

Source Distribution

twitter-analysis-0.0.5.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twitter_analysis-0.0.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file twitter-analysis-0.0.5.tar.gz.

File metadata

File hashes

Hashes for twitter-analysis-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c07c082cb2cff1be992f9d3b7e5ec5de1865d75182dc8291fb868a897092c446
MD5 b7fbc7121ba5d4c1904bc443b687594e
BLAKE2b-256 eee50523e8efa5bf169dc6929815e5841d73dcce50d281a5e2eb7a9f0c583b15

See more details on using hashes here.

File details

Details for the file twitter_analysis-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for twitter_analysis-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 af9583d1b7271f6af2ac83ec47e525d281118b28dca022ede1b87622bfcc1d1b
MD5 17e5ab38107d58489ea219e2a20a6ada
BLAKE2b-256 07f691f68fbddfedf0d55dc63c6f5921d8e34b4b72fde09148706bd1b2e5d699

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page