How to Access Data from the Twitter (X) API Using Tweepy

Опубликовано: 02 Апрель 2026
на канале: Gina Sprint
26,430
229

This video provides an introduction to accessing data from the Twitter API using the Tweepy Python library. Specifically, it covers:
-Uses cases for the Twitter API
-Getting a Twitter bearer token for API access (and how to add it to the .gitignore file)
-Reading Twitter and Tweepy API documentation
-Making requests for account info by username
--Endpoint:   / get-users-by-username-username  
--Tweepy function: https://docs.tweepy.org/en/stable/cli...
-Parsing responses to get the data you want!

This video is the nineteenth video in a multi-part series on getting started with the Python programming language. Previous video on web scraping:    • How to Web Scrape using Python and Beautif...   Next video on setting up Google Cloud Functions:    • How to Setup and Test a Google Cloud Funct...  

Source code on Github: https://github.com/gsprint23/Python-D...