Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 368 Bytes

File metadata and controls

12 lines (8 loc) · 368 Bytes

TwitterAPI-Search-Essential

A script for user with ESSENTIAL access level to extract tweets in the past 7 days using Twitter API v2 and save them into an JSON file (.json).

Reading the JSON file into dataframe

with open(<<YOUR_JSON_FILE_PATH_HERE>>) as f:
        data = json.load(f)
        df = pd.DataFrame.from_dict(data, orient='columns')