Skip to content

Add get_plugin method for GET /api/plugins/:name#86

Merged
dannywillems merged 2 commits intomainfrom
add-get-plugin-endpoint
Mar 20, 2026
Merged

Add get_plugin method for GET /api/plugins/:name#86
dannywillems merged 2 commits intomainfrom
add-get-plugin-endpoint

Conversation

@dannywillems
Copy link
Contributor

Summary

  • Add get_plugin(name) to both Client and AsyncClient
  • Calls GET /api/plugins/:name, returns a single APIResult with name and description fields
  • Add _parse_plugin() helper in BaseClient for single-object parsing

Closes #85

Test plan

  • Unit tests for success, 404, and 401 responses
  • Verified against live API with real API key
  • All 129 tests pass
  • Lint, typecheck, and format checks pass

Implement get_plugin(name) on both Client and AsyncClient,
calling GET /api/plugins/:name. Returns a single APIResult
with name and description fields.
@dannywillems dannywillems merged commit bf3dee2 into main Mar 20, 2026
17 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.

Add get_plugin method for GET /api/plugins/:name

1 participant