Skip to content

feat: add pro/livescan class - #33

Merged
ninoseki merged 1 commit into
mainfrom
livescan
Jan 9, 2026
Merged

feat: add pro/livescan class#33
ninoseki merged 1 commit into
mainfrom
livescan

Conversation

@ninoseki

@ninoseki ninoseki commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

A try to add support for the pro API endpoints.

  • Pro class is an entry point for interacting with pro API endpoints
  • Pro has an instance attribute for each API group (e.g., livescan, saved searches)
pro = Pro(...)
pro.livescan.scan(scanner_id="de01", url="http://example.com")

If this design looks good, I will keep work on this & others.

@ninoseki
ninoseki requested review from cdnsyseng, fw42 and heipei January 7, 2026 09:19
@fw42

fw42 commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Not very familiar with Python API design best practices and stuff like that, but the direction here looks reasonable to me 👍

@ninoseki
ninoseki marked this pull request as ready for review January 8, 2026 01:04
@ninoseki ninoseki changed the title WIP - feat: add pro/livescan class feat: add pro/livescan class Jan 8, 2026
@ninoseki

ninoseki commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

Okay then please approve this PR.
I'd like to make PRs corresponding to API groups one by one so.

@ninoseki
ninoseki merged commit 32a0623 into main Jan 9, 2026
12 checks passed
@ninoseki ninoseki mentioned this pull request Jan 9, 2026
9 tasks
@ninoseki
ninoseki deleted the livescan branch January 20, 2026 04:15
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