【问题标题】:How to get Yodlee categories with their usages?如何获取 Yodlee 类别及其用法?
【发布时间】:2017-06-23 09:09:03
【问题描述】:

我正在研究 Yodlee API,现在我被卡住了。我有使用类别 “/v1/事务/类别”。但是,我不知道如何获得他们的使用百分比。没有任何线索。

我想要这样的结果:-

  • 医疗保健 14%
  • 食物 10%
  • 汽车保险 6%
  • 节省 10%
  • 慈善 10%
  • 租金27%
  • 气体 5%
  • 车款7%
  • 公用事业 7%

【问题讨论】:

    标签: ruby-on-rails ruby yodlee


    【解决方案1】:

    1) 请检查 Yodlee 支持的类别- https://developer.yodlee.com/apidocs/index.php#!/transactions/getTransactionCategories

    2)调用https://developer.yodlee.com/apidocs/index.php#!/transactions/getTransactionCount API 获取该用户下的总交易数

    3)然后调用https://developer.yodlee.com/apidocs/index.php#!/transactions/getTransactionCount API 并传递从步骤1获取的相关类别id

    4) 最后算一算——

    ((Count of transactions for a category)/(Total transaction count))*100
    

    获得所需的输出(百分比)。

    希望这会有所帮助。

    问候,

    克里提克

    【讨论】:

      猜你喜欢
      • 2021-12-22
      • 2019-10-05
      • 1970-01-01
      • 2014-04-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-26
      • 1970-01-01
      相关资源
      最近更新 更多