我正在研究Yodlee API现在我被卡住了。我有类别使用 " / V1 /交易/类别&#34 ;.但是,我不知道如何获得他们的使用百分比。没有任何线索。
我想要这样的结果: -
答案 0 :(得分:0)
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
获得所需的输出(百分比)。
希望这有帮助。
此致
Krithik