octocrab
octocrab copied to clipboard
Add Events API
Support for the Events API would be nice.
I started looking at this here https://github.com/XAMPPRocky/octocrab/compare/master...wayofthepie:events-api?expand=1. I've been using an extension on octocrab
for this API for a while now anyway, so said I might as well clean it up and try contribute it back. Lots left to do, but should have a PR soon enough.
Thank you for your issue! A PR is more than welcome.
Just adding this to track what's done/left to do in the main models.
- [x] CommitCommentEvent (seems to be a bug in the model, or a docs issue for this one, see https://github.com/github/docs/issues/3190)
- [x] CreateEvent
- [x] DeleteEvent (this is missing a field in the docs https://github.com/github/docs/issues/3192)
- [x] ForkEvent
- [x] GollumEvent
- [x] IssueCommentEvent
- [x] IssuesEvent
- [x] MemberEvent (docs have some issues here too https://github.com/github/docs/issues/3378)
- [ ] PublicEvent
- [x] PullRequestEvent
- [x] PullRequestReviewCommentEvent
- [x] PushEvent
- [ ] ReleaseEvent
- [ ] SponsorshipEvent
- [ ] WatchEvent
Seems to be some undocumented event types also, at least the following:
- [ ] PullRequestReviewEvent (see https://github.com/github/docs/issues/2709)