Skip to content

Commit 796e94e

Browse files
committed
WIP
1 parent a384b30 commit 796e94e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# PHP + Prepr SDK
22

3-
This package is an SDK for the REST and GraphQL API.
3+
This package is an SDK for the REST API.
44

55
## Basics
66
The SDK on [GitHub](https://github.com/preprio/php-sdk)
7-
Minimal PHP version: `> 5.6.4`
7+
Minimal PHP version: `> 5.6.4`
88
Requires `GuzzleHttp 7.0.X`
99

1010
For Laravel projects we recommend using the Laravel providers for [REST](https://github.com/preprio/laravel-rest-sdk) or [GraphQL](https://github.com/preprio/laravel-graphql-sdk).
@@ -29,7 +29,7 @@ use Preprio\Prepr;
2929
$apiRequest = new Prepr('{ACCESS_TOKEN}');
3030

3131
$apiRequest
32-
->path('publications')
32+
->path('content_items')
3333
->query([
3434
'fields' => 'items'
3535
])
@@ -42,7 +42,7 @@ if($apiRequest->getStatusCode() == 200) {
4242
```
4343

4444

45-
To get a single publication, pass the ID to the request.
45+
To get a single content item, pass the ID to the request.
4646

4747
```php
4848
<?php

0 commit comments

Comments
 (0)