Skip to content

Commit

Permalink
Merge pull request #66 from ostdotcom/develop
Browse files Browse the repository at this point in the history
Merging to release 2.2
  • Loading branch information
kedarchandrayan authored Dec 9, 2019
2 parents d3e1567 + 3faea39 commit 3c4a825
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[OST PHP SDK v2.2.2](https://github.com/ostdotcom/ost-sdk-php/tree/v2.2.2)
---

* Readme changes for documenting new parameters in transactions module. These parameters can help to
get data between specific time interval.

[OST PHP SDK v2.2.0](https://github.com/ostdotcom/ost-sdk-php/tree/v2.2.0)
---

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@ For executing transactions, you need to understand the 4 modules described below

// Array of status values.
$statusesArray = array('CREATED', 'SUBMITTED', 'SUCCESS', 'FAILED');

// To get transactions between a specific time interval, add start timestamp and end timestamp.
$startTime = 1563260786;
$endTime = 1563280786;

// Name of the transaction. Eg. 'like', 'download', etc.
// NOTE: Max length 25 characters (Allowed characters: [A-Za-z0-9_/s])
Expand Down Expand Up @@ -546,6 +550,8 @@ For executing transactions, you need to understand the 4 modules described below

$getParams = array();
$getParams['user_id'] = $userId;
$getParams['start_time'] = $startTime;
$getParams['end_time'] = $endTime;
$getParams['statuses'] = $statusesArray;
$getParams['meta_properties'] = $metaPropertiesArrayJsonStr;
$getParams['limit'] = $limit;
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.1
2.2.2

0 comments on commit 3c4a825

Please sign in to comment.