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

How to use it with Python? #25

Closed
CyberSinister opened this issue Jun 16, 2020 · 4 comments
Closed

How to use it with Python? #25

CyberSinister opened this issue Jun 16, 2020 · 4 comments

Comments

@CyberSinister
Copy link

Hey Orkestral!
Amazing piece of work. When all else failed, this worked.

Now, I have no experience with node what-so-ever but I was hoping anyone could help and guide me on how to use it with Python. I was to send messages using a Python script but I just don't know where to start. Can you help?

@netojose
Copy link

You can't @CyberSinister . Maybe you can write some javascript functions and call them from python using this: http://sweetme.at/2014/02/17/a-simple-approach-to-execute-a-node.js-script-from-python/

But I don't know how the phyton will handle the async code.

@smashah
Copy link

smashah commented Jun 18, 2020

You can @CyberSinister https://github.com/open-wa/wa-automate-python

@CyberSinister
Copy link
Author

Thank you for your time guys. I just made an API and called it from Python.

@smashah
Copy link

smashah commented Jun 18, 2020

@CyberSinister if you want a simple and completely working API (along with webhooks) you can use this: https://github.com/open-wa/wa-automate-nodejs/blob/master/demo/server.ts

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

3 participants