4 ms·
I'm the author of ghapi, the lib discussed here. I'm very happy to see it on the front page of hn! If you're interested in getting an overview of the github API
by jph00 5y ago
I'm the author of ghapi, the lib discussed here. I'm very happy to see it on the front page of hn! If you're interested in getting an overview of the github API and ghapi, there's a useful explainer on github.com:
https://github.blog/2020-12-18-learn-about-ghapi-a-new-third-party-python-client-for-the-github-api/ https://github.blog/2020-12-18-learn-about-ghapi-a-new-third...
One thing you might find interesting about ghapi is how I covered the entirety of the thousands of endpoints of the github API in a 40kB download. Ghapi uses a nifty approach of dynamically generating python docs and methods from the OpenAPI definitions. Thanks to python's dynamic features we still get autocomplete, docstrings, etc.
Let me know if you have any questions!
- bshipp 5y agoIt looks really cool so thanks for all your work on this! I'll give it a shot.