Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python #42

Closed
mustafa0x opened this issue Jan 12, 2024 · 2 comments
Closed

Python #42

mustafa0x opened this issue Jan 12, 2024 · 2 comments

Comments

@mustafa0x
Copy link

mustafa0x commented Jan 12, 2024

Thanks for this project! Seeing it mentioned on HN piqued my interest. Small question, can this be used by a Python app, or would the interfacing language have to be Elixir?

@cpursley
Copy link
Owner

cpursley commented Jan 12, 2024

Hi @mustafa0x not directly but you could send the event via webhook to a python app: https://github.com/cpursley/walex?tab=readme-ov-file#webhooks

You'd still have to create an Elixir app that uses this library but all you'd need to do is set the webhook destination in the config like so and the events that subscribe to will get sent.

# config.exs

config :my_app, WalEx,
  ... config stuff
  destinations: [
    # your webhook destination
    webhooks: ["https://webhook.site/c2f32b47-33ef-425c-9ed2-f369529a0de8"]
  ],
  webhook_signing_secret: "9da89f5f8f4717099c698a17c0d3a1869ee227de06c27b18",
  ...

Let me know if that makes sense. Glad to help.

@mustafa0x
Copy link
Author

Thank for the quick reply. As I feared. :)

I'll be monitoring this project in case a more friendly solution for us with no Elixir experience comes to be.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants