orchestrate-php-client icon indicating copy to clipboard operation
orchestrate-php-client copied to clipboard

List events from one date to another

Open ghost opened this issue 8 years ago • 0 comments

I'm a little confused with the List with range queries option. I didn't quite understand the description and what the variables did.

Specifically the $afterEvent and $beforeEvent in:

use SocalNick\Orchestrate\EventListOperation;
$evListOp = new EventListOperation("films", "pulp_fiction", "comment", 20, $startEvent, $afterEvent, $beforeEvent, $endEvent);
$evListObject = $client->execute($evListOp);

From the orchestrate documentation, there is this which just has a startEvent and endEvent:

curl -i "https://api.orchestrate.io/v0/users/kates-user-id/events/timeline?startEvent=1384534722568&endEvent=1403206439244" \
-u '12345678-1234-1234-1234-123456789012:'

Is there a way to use these parameters?

ghost avatar Apr 14 '16 20:04 ghost