You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to perform arithmetic in Pipes? I want to convert a time from mm:ss to just seconds. Can I call a webservice like https://api.mathjs.org/ ?
The text was updated successfully, but these errors were encountered:
Yes. Well, Pipes does not have a block for this. But you can call https://api.mathjs.org/. You just need to feed your target calculation url into a download block.
If you need to take the mm:ss from a different feed then feeding that into a download block is not obvious, as the download block only has a text input. The trick is to use a foreach block, fill it with a download block, and then connect its input with a feed that contains the URLs you want to call.
The result will be combined into one feed and the created download calls will also be properly throttled.
I'm not against adding a new block that does calculations if someone comes up with a usable block layout.
Is there any way to perform arithmetic in Pipes? I want to convert a time from mm:ss to just seconds. Can I call a webservice like https://api.mathjs.org/ ?
The text was updated successfully, but these errors were encountered: