Hacker News new | past | comments | ask | show | jobs | submit login

GitHub's own gh tool is really useful for things like this, as its builtin api subcommand¹ performs authenticated requests. Using that you can also see private repos and GitHub Enterprise usage is pretty seamless. Just replace HTTPie, with `gh api <endpoint>`.

¹ https://cli.github.com/manual/gh_api




I've used gh daily for months and didn't even realise it had an api subcommand! Fantastic, thanks.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: