Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.*
!.gitignore
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ This behaviour is not documented by Bondora.
## Bondora API support
Bondora API changelog - https://api.bondora.com/ChangeLog
##### Supported versions:
- v1.0.1.9 (02.02.2017)
- v1.0.1.8 (27.09.2016)
- v1.0.1.7 (23.09.2016)
- v1.0.1.6 (08.09.2016)
- v1.0.1.5 (15.07.2016)
- Renamed enum classes:
Expand Down
23 changes: 23 additions & 0 deletions src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,31 @@ public function bidCancel($id) {
* @return Definition\LoanDatasetItem[]
* @throws ApiException
* @throws \Exception
* @deprecated discouraged since v1.0.1.9, use publicdataset() instead
*/
public function loandataset($request=array()) {
return $this->publicdataset($request);
}

/**
* Provides daily dataset of all loan data that is not covered by the data protection laws.
*
* $request array supported keys:
* loanIds string[] Specific loans to search
* countries string[] Two letter iso code for country of origin: EE, ES, FI
* ratings string[] Bondora's rating: AA, A, B, C, D, E, F, HR
* wasFunded bool Loan was funded
* loanDateFrom date Loan start date from
* loanDateTo date Loan start date to
* pageSize int Max returned results, default is 1000. Range: inclusive between 1 and 1000
* pageNr int Result page nr. Range: inclusive between 1 and 2147483647
*
* @param array $request
* @return Definition\LoanDatasetItem[]
* @throws ApiException
* @throws \Exception
*/
public function publicdataset($request=array()) {
$resource = 'loandataset';

$array_fields = array(
Expand Down