Ask HN: Do you write a lot of SDKs for your APIs?
At work, I find myself writing a Python/Go/JS SDK for every single internal API that I implement. This might even be more prevalent for public facing APIs since creating/maintaining public API SDKs for popular languages are table stakes for usage.
- Has this generally been true in your experience as well?
- If so, are there any hacks to create these SDKs with support for best practices like pagination, retry, etc + update them them when the API changes?
2 comments
[ 3.6 ms ] story [ 8.4 ms ] threadWe've expanded support for Python and Go since we made this. If you're interested in testing out the multi-language version, let me know!
Some other solutions: -OpenAPI: http://github.com/openapitools/openapi-generator -(language specific) Go SDK: https://github.com/deepmap/oapi-codegen
Best of luck with finding a solution that works for your use case!