Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrt1m committed Jun 24, 2021
1 parent 98524b9 commit c6c60c5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@

* PHP 7.4 or later

## 2. Initialization
## 2. Installation

The VK PHP SDK can be installed using Composer by running the following command:

```sh
composer require mrt1m/playstation-store-ap
```

## 3. Initialization

Create Client object using the following code:

Expand All @@ -15,9 +23,9 @@ use PlaystationStoreApi\Enum\Regions;
$clientApi = new Client(new Regions(Regions::RUSSIA));
```

## 3. API Requests
## 4. API Requests

### 3.1. Request product data
### 4.1. Request product data

```php
$response = $clientApi->product()->get('EP0001-CUSA12042_00-GAME000000000000');
Expand Down

0 comments on commit c6c60c5

Please sign in to comment.