我正在开发一个webapp,在过去的两年中,它使用了Google Calculator的非官方API,如:http://www.google.com/ig/calculator?hl=en&q=
既然iGoogle已于上周关闭(https://support.google.com/websearch/answer/2664197),谷歌计算器api也无效。
使用javascript计算器的最佳选择是什么?(我给它一个字符串,然后评估答案。)
我有过一些想法:
有什么建议吗?
以下是Google Calculator处理的一些示例查询。我能做的越多越好:
"https://query.yahooapis.com/v1/public/yql?q=select%20Rate%20from%20yahoo.finance.xchange%20where%20pair%20in%20(%22" + from + to + "%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=callBackFunctionName"