# trevorhobenshield/twitter-api-client

Implementation of X/Twitter v1, v2, and GraphQL APIs

Repository: https://github.com/trevorhobenshield/twitter-api-client
Canonical: https://ross.abutalabs.com/products/twitter-api-client
Homepage: https://pypi.org/project/twitter-api-client
Language: Python
License: MIT
License Family: permissive
Topics: api, automation, client, scrape, twitter, async, bot, search, twitter-api, x, x-api, twitter-bot, twitter-scraper, x-bot, x-scraper
Last push: 2024-05-22T12:25:25+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 90
- inputs: {"age_days": 1271, "days_push": 833, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1894, forks 253 (observed 2026-08-28T04:05:50.734075+00:00)

## What it is
A Python library implementing X/Twitter's v1, v2, and GraphQL APIs for automation and scraping. It supports account actions like tweeting, liking, and following, as well as data retrieval, search, and live Spaces audio/transcript capture.

## Use cases
- scrape tweets and user data from twitter
- automate posting tweets and replies
- build a twitter bot in python
- search twitter without official api keys
- capture live twitter spaces audio and transcripts
- schedule tweets with media attachments
- bulk follow, mute, or like actions on x

## When to choose
- you need unofficial access to Twitter/X data or actions without paid API access
- you want a lightweight Python client covering v1, v2, and GraphQL endpoints
- you need automation features like scheduling, polls, DMs, and media uploads
- you want to capture live Twitter Spaces audio or transcripts

## When to avoid
- you need a fully supported, ToS-compliant official API integration for production
- you require guaranteed stability, since unofficial endpoints and login flows break frequently
- you need a non-Python language or a managed service rather than a library

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, sdk, workflow-automation
- domain: apis, social-media, crawlers
- platform: python, cli
- tags: twitter, x-api, twitter-scraper, twitter-bot, graphql-api, async, automation

## Member repositories
- trevorhobenshield/twitter-api-client (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:50.734075+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:12:54.478127+00:00, confidence not recorded.
  - readme: https://github.com/trevorhobenshield/twitter-api-client (fetched 2026-08-28T04:05:50.734075+00:00, sha 529b1ad8ab90)
  - homepage: https://pypi.org/project/twitter-api-client (fetched 2026-08-29T10:51:56.358880+00:00, sha 4b4e8fead74a)
  - registry_pypi: https://pypi.org/pypi/twitter-api-client/json (fetched 2026-08-29T10:51:56.367809+00:00, sha 6c6bd58d7bdb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
