tweet(url, **opts)
- One post, fully resolved: text, author, metrics, media, poll and any quoted post.
thread(url, **opts)
- A whole thread from any post in it, unrolled into posting order.
search(query, **opts)
- Posts matching a query — latest, top, photos or videos — inside an optional date window.
replies(url, **opts)
- One page of the direct replies to a post, most liked or newest first.
user(handle, **opts)
- A profile: bio, counts, join date, verification, location and website.
user_tweets(handle, **opts)
- One page of an account's posts, with the cursor for the next.
iter_user_tweets(handle, limit=…)
- The same, as a generator that follows the cursors for you and stops at the limit.
user_history(handle, **opts)
- Up to a thousand of an account's posts in one call, newest first, inside an optional date window.
followers(handle, **opts)
- One page of the accounts following an account.
following(handle, **opts)
- One page of the accounts an account follows.
trends(**opts)
- What is trending, with post counts where X gives them.
media(url, **opts)
- Every attached file, with every bitrate X encoded, as direct links.
download_media(url, **opts)
- Streams one of those files back as bytes rather than as a link.
bulk(urls, **opts)
- Up to fifty posts in one request. A dead link fails that entry alone.