Skip to content

Commit

Permalink
Merge pull request #38 from kodjunkie/dev
Browse files Browse the repository at this point in the history
Updated readme.md
  • Loading branch information
kodjunkie authored Jun 12, 2022
2 parents 809db56 + c6138d2 commit 16960ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ See: [https://documentation.onesignal.com/reference/edit-tags-with-external-user
See: [https://documentation.onesignal.com/reference/view-devices](https://documentation.onesignal.com/reference/view-devices)

```php
$response = $oneSignal->device()->getAll(null, 50);
$response = $oneSignal->device()->getAll(null, $limit);
```

<a name="device+get"></a>
Expand Down Expand Up @@ -229,15 +229,15 @@ See: [https://documentation.onesignal.com/reference/csv-export](https://document
See: [https://documentation.onesignal.com/reference/view-notifications](https://documentation.onesignal.com/reference/view-notifications)

```php
$response = $oneSignal->notification()->getAll(null, 50);
$response = $oneSignal->notification()->getAll(null, $limit);
```

> To view API only notifications
```php
use \Kodjunkie\OnesignalPhpSdk\Endpoints\Notification;

$response = $oneSignal->notification()->getAll(null, 50, Notification::API_ONLY);
$response = $oneSignal->notification()->getAll(null, $limit, $offset, Notification::API_ONLY);
```

<a name="notification+get"></a>
Expand Down

0 comments on commit 16960ee

Please sign in to comment.