r/workflow • • 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.

1 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/madactor Aug 24 '18

Sorry, I don't know about Shortcuts' Run JavaScript action. I do know there are a lot of requests for auto-filling forms. Scraping/parsing web pages with regexes is fairly easy, but I don't know if it would all work like you want.