specklepy icon indicating copy to clipboard operation
specklepy copied to clipboard

🎣 Ez and convenient webhooks module

Open izzylys opened this issue 2 years ago • 0 comments

Make it ez pz for ppl to start out using webhooks to process their data and build automations.

Needa find a balance between super ez 1liner to get started w enough config for more advanced users to use it in more complex and custom applications / poss even in production

eg cristi's example

import speckle_webhooks

def on_commit(data: Base, metadata: Dict):
   pass # ...

speckle_webhooks.process_commits('https://speckle.xyz/streams/1ce562e99a', on_commit)

inspo: cherrypy

izzylys avatar Mar 24 '22 10:03 izzylys