apiclient-pydantic-generator
openapi-devtools
apiclient-pydantic-generator | openapi-devtools | |
---|---|---|
1 | 9 | |
29 | 3,804 | |
- | - | |
0.0 | 7.6 | |
6 months ago | about 1 month ago | |
Python | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apiclient-pydantic-generator
-
Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
You could potentially go one step further and make Python classes that wrap the whole API automatically from the OpenAPI file: https://github.com/mom1/apiclient-pydantic-generator
openapi-devtools
- U.S. National Park Service API
-
Ask HN: Working with CPG Retail Data
Not specific to the CPG realm, but I've had some very good luck working with the OpenAPI-devtools Chrome Extension[1] (previous discussion here on hackernews[2]) to discover the underlying APIs of various sites that I want to scrape data from.
[1] https://github.com/AndrewWalsh/openapi-devtools
[2] https://news.ycombinator.com/item?id=38012032
- OpenAPI DevTools: Chrome extension that generates API specs for any app or website
- OpenAPI DevTools - Chrome extension that generates API specs for any app or website
- FLaNK Stack Weekly for 30 Oct 2023
-
Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
As a follow up, the algorithm that powers this makes use of the chrome.devtools.network API. Specifically it passes the Request object that is in the HAR 1.2 archive format.
So if you can pass the equivalent of that in Firefox/other browsers to the insert method and switch things up a bit, it should be relatively straightforward. I will think about pulling out the core logic into its own lib.
https://developer.chrome.com/docs/extensions/reference/devto...
https://developer.chrome.com/docs/extensions/reference/devto...
https://github.com/AndrewWalsh/openapi-devtools/blob/main/sr...
What are some alternatives?
scalar - Beautiful API references from OpenAPI/Swagger files ✨
mitmproxy
requests-openapi - A lightweight but powerful and easy-to-use Python client library for OpenAPI v3.
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
gorilla - Gorilla: An API store for LLMs
elements - Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.
api2ai - Create API agents from OpenAPI Specs
DefinitelyTyped - The repository for high quality TypeScript type definitions.
OpenAPI-Specification - The OpenAPI Specification Repository
Optic - OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.