Python Script Using Tweepy

Job ID: 37063356

Budget: $30 – $250 SGD

I am looking for a Python developer to help create a script using Tweepy. More specifically, it must use Twitter API v2 (tweepy.Client).

BACKGROUND
The motivation for this task is that an older script I wrote a few years ago (using Twitter API v1.1) has suddenly stopped working since few days ago and I do not have the time to upgrade it.

REQUIREMENTS
The script should have the following functionality:
- fetching tweets specified by ID in a CSV file. The file path of this CSV will be passed as a sys argument. It should use the GET /2/tweets API (the function is tweepy.Client.get_tweets())
- The script does not need to interact with a specific database. It just needs to output the JSON response to the API call to a text file. 1 Tweet JSON per file. For example, Tweet ID 123456789, output 123456789.txt.
- The script should only run when manually triggered. I only intend to run this script once in a while, hence the simple requirements.

PLEASE NOTE :
- Please ensure no SSL certificate related errors. I will mark the task as beibg successfully completed only when i am able to successfully run your script in my development environment using a separate set of Tweet IDs.
- Please do not propose solutions which involve manual steps (for example, running system specific commands).
- Please provide a . py script, a requirements.txt file listing the Python libraries and versions used, actual output text files (JSON response for each Tweet) for the Tweet IDs provided

DEADLINE
17 August 2023, 2359 UTC
Related categories: Python Twitter API