txghbot package documentation| Package | test | Undocumented |
| Module | _api | The twistd support code. Don't call this directly! |
| Module | _core | The core functionality of the webhook server. Don't use this directly! |
| Module | _version | Undocumented |
From the __init__.py module:
| Interface | IWebhook | A Github webhook. |
| Class | WebhookDispatchServiceMaker | Make the web hook dispatching twisted.application.service.Service |
| Function | makeWebhookDispatchingResource | Creates a txghbot._core.WebhookDispatchingResource
instance. |
Creates a txghbot._core.WebhookDispatchingResource
instance.
| Parameters | secretKey | The secret key that Github HMACs each request body with. See the Github
docs. (type: bytes) |
| hooks | Sequence of txghbot._core.IWebhook (type: The hooks to possibly run upon receiving an event.) | |
| Returns | Returns the event dispatch resource. (type: txghbot._core.WebhookDispatchingResource) | |