[ckan-discuss] webhooks API
john.bywater at appropriatesoftware.net
Thu Feb 25 00:45:22 GMT 2010
Luke Closs wrote:
> Hey gang,
> I just built my first little mashup using the CKAN API and it totally rocks. It was SO easy to use, I spent more time figuring out how to graph the data than it took me to get the data.
> (For reference, my code is here: http://gist.github.com/312009 and the graph that it produces is here: http://5z8.info/cockfights_g6q8s_freeanimalporn.com-start-download)
> So thank you all very much for building a SANE, SIMPLE ReST API that uses JSON. I love it.
If you like the design, you may be interested in the analysis:
> Is there any plan to add webhooks to CKAN? I would love to be able to set up webhooks for actions within CKAN so that it could trigger me to re-create some charts, so I wouldn't need to poll the server. I think this would be valuable for the CKAN community.
Very nearly. We've just been discussingthis for syncing CKAN instances
(ie distributing changes) - it would be nice to allow clients to
register for changes instead of having everybody polling. It needn't
just be other CKAN instances that follow CKAN changes.
> As an example, FreshBooks just announced a really sweet Webhook API that could be a good model: http://developers.freshbooks.com/blog/view/keep_in_sync_with_freshbooks_webhooks/
Thanks for the link. Will check it out...
> * Sorry about the shadyurl, I just couldn't help myself.
More information about the ckan-discuss