My app uses several paid financial API resources to populate all of the necessary data for my computations. My app does all of the computations internally within workflows and comes up with the proper final data. Everything works well actually.
What intrigues me about Sparklite in this case, is rather than having my app do all of the computations each time via workflows, which only takes between 1-3 seconds, I could potentially reduce the internal stress on the app by simply making an API call to one of several Excel sheets at Sparklite to grab the final data.
The challenge with Sparklite (and it’s nobody’s fault) is that my Excel sheets use the STOCKHISTORY function in one cell. This cell receives a stock ticker symbol. Since Excel sheets are converted to code on the Sparklite side, it is unable to receive a stock ticker from my app into the proper “Xinput” cell, and then make a call with the STOCKHISTORY function to get the raw stock price data back in order to perform subsequent computations in Excel.
Ideally, all that I would need to do is to POST a stock ticker into that cell via API, hit return and STOCKHISTORY populates one sheet with all of the correct data from its own API call. It only takes less than one second, then Excel does all the computations which I could then grab via an API with Sparklite.
Since using a built-in API call within the Excel file that is uploaded to Sparklite is not possible because the file is converted to code, this solution doesn’t work for me. If it WERE possible to use an API call within an Excel file that gets uploaded to Sparklite, then that would be VERY intriguing and potentially powerful to drive data backends to our apps.
Modifying how data is computed can be much easier to accomplish sometimes by just doing it in Excel, rather than modifying workflows within the app as well. I could make changes to the Excel file regarding computations, and the app itself doesn’t have to be touched because it’s just reaching out to Sparklite via API and grabbing the data I want.
Again, my app is working fine, but I’m thinking ahead about scaling up and how a Sparklite-type solution would work if the source Excel sheet COULD process an internal API call for data.
Thanks,
Dan