public function getActivitiesByChannelId($channelId, $part = ['id', 'snippet', 'contentDetails'], $maxResults = 5)
{
if (empty($channelId)) {
throw new \InvalidArgumentException('ChannelId must be supplied');
}
$API_URL = $this->getApi('activities');
$params = array('channelId' => $channelId, 'part' => implode(', ', $part), 'maxResults' => $maxResults);
$apiData = $this->api_get($API_URL, $params);
return $this->decodeList($apiData);
}