Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 602 Bytes

File metadata and controls

20 lines (16 loc) · 602 Bytes

x_api_scraper

Python SDK for Twitter search, followers, profiles, timelines, communities, lists, and trending. Built for TwexAPI. Not affiliated with X Corp.

import os
from x_api_scraper import XapiScraper

with XapiScraper(bearer_auth=os.environ["X_API_SCRAPER_KEY"]) as client:
    res = client.search.advanced(
        search_terms=["from:elonmusk"],
        sort_by="Latest",
        next_cursor="",
    )
    print(res)