Metadata-Version: 2.4
Name: x_api_scraper
Version: 0.1.0
Summary: Twitter API alternative Python SDK for tweet search, follower scraping, timelines, DMs, communities, lists, trending, and X automation. Not affiliated with X Corp.
Author: TwexAPI
License: MIT
Project-URL: homepage, https://twexapi.io
Project-URL: repository, https://github.com/twexapi-dev/x-api-scraper-python
Project-URL: documentation, https://docs.twexapi.io
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpcore>=1.0.9
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.11.2
Dynamic: license-file

# x_api_scraper

Python SDK for Twitter search, followers, DMs, communities, and X automation. Built for [TwexAPI](https://twexapi.io). Not affiliated with X Corp.

- Docs: https://docs.twexapi.io
- Source: https://github.com/twexapi-dev/x-api-scraper-python
- Dashboard: https://twexapi.io/dashboard

```python
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)
```
