In this example we will see how we can use a Python script for a Node Script to build a Polyglot Currency converter. Link to the article: https://dev.to/siddhantkcode/polyglot-programming-with-metacall-308m.
Install MetaCall CLI:
curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh
Install application dependencies:
metacall pip3 install requests==2.20.0
-
add your API Key in main.py
-
Run:
metacall main.js