Skip to content

Add X post card options to screenshot and dataset methods (0.8.0) - #9

Merged
fatwang2 merged 2 commits into
mainfrom
claude/project-thread-5thwun
Dec 4, 2026
Merged

fatwang2 merged 2 commits into
mainfrom
claude/project-thread-5thwun

Conversation

@fatwang2

@fatwang2 fatwang2 commented Dec 4, 2026

Copy link
Copy Markdown
Member

Requested by fatwang2 · project thread

Summary

  • screenshot() (sync and async) takes tweet (TweetCardOptions): X post links are drawn as post cards; tweet styles the card, enabled: False keeps the browser capture.
  • New query_dataset() (POST /dataset) and list_datasets() (GET /dataset), sync and async, with typed responses.
  • OpenAPI snapshot re-synced; coverage test now maps queryDataset and listDatasets.
  • Version 0.8.0, README and CHANGELOG.

Testing

  • pytest 30/30, ruff check/format, mypy.
  • Live against api.search1api.com: X post card webp 17 KB, list_datasets() returns gta6, query_dataset("gta6", "wanted level") found.

Generated by Claude Code

screenshot() takes tweet card options; query_dataset() and list_datasets()
cover POST/GET /dataset. OpenAPI snapshot re-synced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DuYf7x5hPGyUHWXLsYsdcu
@fatwang2 fatwang2 self-assigned this Dec 4, 2026
@fatwang2
fatwang2 merged commit 0679fda into main Dec 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants