Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
21
application/libraries/RestTaskCoupangServiceClient.php
Normal file
21
application/libraries/RestTaskCoupangServiceClient.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
|
||||
require_once __DIR__ . '/RestServiceClient.php';
|
||||
|
||||
class RestTaskCoupangServiceClient extends RestServiceClient
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{ }
|
||||
|
||||
|
||||
|
||||
public function getCategories()
|
||||
{
|
||||
$response = $this->request('GET', '/task/coupang/categories', []);
|
||||
return $response->data;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user