A library to parse event webhooks from Plex server.
Install Plex.Server.Webhooks via NuGet package manager (nuget.org)
Install-Package Plex.Server.Webhooks
Declare WebhookParser
and call ParseEvent
. This takes in string as JSON received from the HTTP POST callback.
var parser = new WebhookParser();
var events = parser.ParseEvent(json);
Check out the documentation on Plex: https://support.plex.tv/hc/en-us/articles/115002267687-Webhooks
- mirajavora for the project structure and converters used in sendgrid-webhooks