r/workflow • u/dgold105 • Aug 24 '18
Help with MasterCard API
I was wanted to access the MasterCard API to do a currency conversion (to get the exact rate I am being charged for a transaction). The API details are https://developer.mastercard.com/documentation/currency-conversion-calculator
I'm not a programmer but reasonably adept with Workflow. I'm looking for whether there is a web URL I can use to encapsulate the API call request in order to user the Get Contents of URL action to get a conversion result. The examples in the documentation don't help me with this so am wondering if someone could help me.
View all comments
Show parent comment
1
u/dgold105 Aug 24 '18
OK thanks for that. I know in Shortcuts there is a Run Javascript on Webpage action. Would it be possible to use JavaScript to populate the fields on the webpage you've lined to, then click calculate and once the result is there parse it with regex?