/** * Get Similar (by name) * * @param string $name * @return $this */ public function getSimilar($name = false) { $query = $this->queryBuilder->setCommand('similar'); if ($name) { $query->setName($name); } return $query; }
/** * Get Video by ID * * @param string $id * @return $this */ public function getVideoById($id) { return $this->queryBuilder->setCommand('video')->setId($id); }
/** * Get Song Profile * * @param $id * @return $this */ public function getSongProfile($id) { return $this->queryBuilder->setCommand('profile')->setOption('id', $id); }
/** * Post Upload Track () * * @param $url * @return $this */ public function postUploadTrack($url) { $this->queryBuilder->method = 'post'; return $this->queryBuilder->setCommand('upload')->setOption('url', $url); }