【问题标题】:rate exchange currency converter error汇率换算错误
【发布时间】:2014-06-14 04:53:08
【问题描述】:

我在这里没有与编码相关的问题。我想了解有关货币转换器 API 的一些详细信息。

$l_json_from = $this->currency->format($total_row['value'], false, false, false);
$l_url = "http://rate-exchange.appspot.com/currency?from=INR&to=USD&q=$l_json_from";
$l_jsons = @file_get_contents($l_url);
$l_json_data = json_decode($l_jsons, true);
$l_to_cur = $l_json_data['v'];

我已使用上述代码将 INR 汇率转换为 USD 汇率,使用 this URL。昨天它工作正常。但是,今天它不起作用。汇率交换 API URL 说:

超出配额

此应用暂时超出其服务配额。请稍后再试。

为什么这个网站会这样显示?是什么原因?我应该尝试任何其他货币转换器 API 吗?

【问题讨论】:

    标签: php json api currency


    【解决方案1】:

    超出配额

    此应用暂时超出其服务配额。请试试 稍后再来。

    这意味着服务rate-exchange.appspot.com 的主机(Google App Engine?)超出配额。这意味着在 API 的所有者(我相信是 are these folks)解决问题之前,您不能使用它。

    但还有更多类似的可用货币兑换 API,如 here 所述。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-11-17
      • 2018-12-10
      • 2011-03-23
      • 2018-03-18
      • 1970-01-01
      • 1970-01-01
      • 2021-01-08
      • 1970-01-01
      相关资源
      最近更新 更多