You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
Once you have an ```Identifier``` and a ```Secret``` you are ready to generate an access token:
13
+
```php
14
+
<?php
15
+
16
+
require_once 'vendor/autoload.php';
17
+
use ilazaridis\skroutz\Client as Client;
18
+
19
+
$client = new Client('identifier', 'secret');
20
+
```
21
+
and consume it:
22
+
```php
23
+
print_r($client->category('40')->fetch()); // get category with id=40
24
+
```
25
+
```fetch(bool $decode = true, string $apiVersion = '3.1')``` will return an associative array using latest version of api by default. You can pass a boolean and a string if you want to change these values.
26
+
- List the children categories of a category
27
+
```php
28
+
$client->category('40')->children()->fetch()
29
+
```
30
+
- Retrieve a single shop location
31
+
```php
32
+
$client->shop('452')->location('2500')->fetch()
33
+
```
34
+
- Retrieve manufacturer's categories order by name
0 commit comments