Skip to content

Commit

Permalink
Add getPicture($key)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostfaassen committed Jun 7, 2016
1 parent 56a1ff0 commit 0402dd2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/V3/HubV3Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,15 @@ public function getResource($key)
return $this->parseResourceXmlToResource($node);
}

public function getPicture($key)
{
$resources = array();
$uri = '/resources/' . $key . '/picture';
$body = $this->sendRequest($uri, null);

return $body;
}

public function getSource($key)
{
$resources = array();
Expand Down

0 comments on commit 0402dd2

Please sign in to comment.