Page MenuHomeDevCentral

GitHub event types classes
Open, WishlistPublic

Description

https://developer.github.com/v3/activity/events/types/ offers a lot of events replies.

With a tool like http://jsonutils.com/ it would be nice to generate proper classes for them, so we can decode the different JSON payloads mapping them to an existing class instead of stdClass.

Deliverable: a PSR-4 package, so we don't need to do any require manually.

Event Timeline

dereckson raised the priority of this task from to Wishlist.
dereckson updated the task description. (Show Details)
dereckson moved this task from Backlog to Need a volunteer on the Message queues board.
dereckson moved this task from Backlog to Dev on the good-first-issue board.
dereckson added a subscriber: dereckson.

Where to publish those events?

This can clearly is versatile enough to be useful for other projects than Notifications Center.

Can be added to rKGH repository in src/Events folder, which would satisfy PSR-4 requirement, as that folder would match the namespace Keruald\GitHub\Events