Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 628 Bytes

File metadata and controls

17 lines (15 loc) · 628 Bytes

Instantiate the required library class

$http = new \Romby\Box\Http\Adapters\GuzzleHttpAdapter(new \GuzzleHttp\Client())
$sharedItems = new \Romby\Box\Services\SharedItems($http);
/* @param string      $token      the OAuth token.
 * @param string      $sharedLink the shared item to get.
 * @param string|null $password   the password for the shared itembo.
 * @return array the response.
 */
$sharedItems->get($token, $sharedLink, $password = null);