This repository contains code examples that can be used to retrieve data from Twitter API v2. Each folder corresponds to a specific endpoint and contains a python file and a jupyter notebook. The difference between the two is that the jupyter notebook shows the process step by step and has every step explained thoroughly.
- Endpoint: GET /2/tweets/search/all
- In order to use this specific endpoint you need to have Academic Research Access
- Endpoint: GET /2/users
- My code was inspired in Twitter's code that you can find here
- Twitter community forum is a great place to ask questions, I have used it myself a couple of times and always find it useful
- Most information you will need to retrieve data from the the twitter API is scattered here