progknife/yodlee-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

progknife/yodlee-api

最新稳定版本:v0.7.1

Composer 安装命令:

composer require progknife/yodlee-api

包简介

Yodlee API SDK for PHP

README 文档

README

A library for accessing financial data from Yodlee API. Built for easier integration with Laravel PHP Framework as a dependency.

Code Example

<?php
// NOTE: This script assumes installation with composer and using composer's autoloader.
require_once 'vendor/autoload.php';

// Minimum required Yodlee credentials.
$yodleeApiUrl = 'https://developer.api.yodlee.com/ysl/restserver/v1';
$yodleeApiCobrandLogin = 'johndoe';
$yodleeApiCobrandPassword = 'johndoe#123';

// Create a new instance of the SDK.
$yodleeApi = new \YodleeApi\Client($yodleeApiUrl);

// Login the cobrand.
$yodleeApi->cobrand()->login($yodleeApiCobrandLogin, $yodleeApiCobrandPassword);

// Fetch all available banks, institutions etc. that are supported by Yodlee.
$providers = $yodleeApi->providers()->get();

Check the examples/ directory for sample scripts.

Installation with Composer

composer require progknife/yodlee-api

API Reference

cobrand()

Return Method Description
bool login(string $username, string $password) Authenticates the cobrand.
void logout() Ends the authenticated cobrand's session from Yodlee.

user()

Return Method Description
bool login(string $username, string $password) Authenticates the user.
void logout() Ends the authenticated user's session.
int|bool register(string $username, string $password, string $email) Register and authenticates the user to Yodlee.
void unregister() Deletes the authenticated user's data from Yodlee.

providers()

Return Method Description
array get([array $filters]) Fetch all providers supported by Yodlee. Refer to Yodlee API Documentation for filters parameter.
object getDetail(int $providerId) Fetch the provider details including the login form.

providerAccounts()

Return Method Description
object find(int $providerAccountId) Fetch the provider account by ID.
array get() Fetch all provider accounts added by the authenticated user.
object add(int $providerId, array $fields) Add a provider to user. Refer to Yodlee API Documentation for more details on $fields parameter.
object update(string $providerAccountIds, array $credentialsParam) Update one or multiple provider account.
void delete(int $providerAccountId) Delete the provider account.

statements()

Return Method Description
array get([array $filters]) Fetch all statements of the authenticated user. Refer to Yodlee API Documentation for filters parameter.

transactions()

Return Method Description
array get([array $filters]) Fetch all transactions of the authenticated user. Refer to Yodlee API Documentation for filters parameter.

统计信息

  • 总下载量: 11.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-10