Daily weather and next day forecast in a template

I use curl in a bash script to find out the current weather, and then created a user function with the Templater plugin system commands feature to return it’s output.

curl "wttr.in/Kiev?format=%m"

And then call the user function in my daily template:

<% tp.user.weathernow() %>