from tweety.bot import Twitter
app = Twitter()
all_tweets = app.get_tweets("elonmusk")
for tweet in all_tweets:
print(tweet)
- Are you new here? Jump straight into :ref:`installation`!
- Looking for All Available Functions? See :ref:`all-functions`.
- Did you upgrade the library? Please read :ref:`changelog`.
Twitter is a popular social media platform used by millions of people even the Governments too. This library is meant to scrape the Tweets, Users , Trends and Search Results from Twitter.
If you are getting started with the library, you should follow the documentation in order by pressing the "Next" button at the bottom-right of every page.
You can also use the menu on the left to quickly skip over sections.
.. toctree:: :hidden: :caption: Get Started basic/installation basic/quick-start
.. toctree:: :hidden: :caption: Base Class basic/twitter-class
.. toctree:: :hidden: :caption: References basic/all-functions basic/twDataTypes basic/exceptions basic/filter
.. toctree:: :hidden: :caption: Miscellaneous misc/changelog