docs: update README with new SDK API documentation

- Rewrite all code examples for snake_case/Pydantic v2 API
- Add AsyncOnspringClient documentation with async/await examples
- Add error handling documentation with raise_for_status() examples
- Update property names (statusCode -> status_code, etc.)
- Update import paths (OnspringApiSdk -> onspring_api_sdk)
- Update constructor parameter names (baseUrl -> url, apiKey -> key)
- Add httpx as the underlying HTTP library
This commit is contained in:
Stevan Freeborn
2026-06-26 17:43:30 -05:00
parent 208ad9114b
commit 2f737bd722
+337 -293
View File
File diff suppressed because it is too large Load Diff