From 6a5710dda83102aaef23c8f14e73a493d58963e9 Mon Sep 17 00:00:00 2001 From: Steven Maguire Date: Wed, 23 Aug 2017 21:48:50 -0500 Subject: [PATCH] Update documentation --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34642ca..c2df29e 100644 --- a/README.md +++ b/README.md @@ -374,7 +374,10 @@ $profile = $client->getDriverProfile(); ### Get Driver Payments ```php -$profile = $client->getDriverPayments(); +$profile = $client->getDriverPayments(array( + 'limit' => 50, // optional + 'offset' => 0 // optional +)); ``` [https://developer.uber.com/docs/drivers/references/api/v1/partners-payments-get](https://developer.uber.com/docs/drivers/references/api/v1/partners-payments-get) @@ -382,7 +385,10 @@ $profile = $client->getDriverPayments(); ### Get Driver Trips ```php -$profile = $client->getDriverTrips(); +$profile = $client->getDriverTrips(array( + 'limit' => 50, // optional + 'offset' => 0 // optional +)); ``` [https://developer.uber.com/docs/drivers/references/api/v1/partners-trips-get](https://developer.uber.com/docs/drivers/references/api/v1/partners-trips-get)