No more sassy SaaS integrations
summary
A lightweight SDK is built that splits integrations into a stream phase (incremental fetch, pagination, rate-limit and state handling) and a parse phase (convert raw API JSON to domain objects), inspired by Airbyte CDK and implemented with Pydantic, Typer, importlib/inspect class discovery for a zero-CLI workflow, dependency-injection using Python generics to wire streams to parsers, and snapshot testing via requests hooks plus requests-mock to record and replay API responses.
AI-written summary · about
chapters (8)
- 0:00Introduction and thanks
- 1:55Integration challenges overview
- 6:52Aerobyte’s SDK approach
- 10:06Building our own SDK
- 12:14Class discovery and CLI
- 14:03Dependency injection
- 16:16Automated snapshot testing
- 17:21Summary and conclusion
related talks
26mCLI, CI, DIY: Crafting Python Based Dev Tools in a DevOps Vacuum
42mArrested Development: surviving the awkward adolescence of a microservices-based application
27mSDK or Not
26mBuilding APIs for Developers & Machines
28mDelivering successful API integrations
30mDeploying and building SDKs as a service Developer
33mLessons learned building Python microservices
26mIntro to Pydantic, run-time type checking for your dataclasses
