Exemplo n.º 1
0
 /**
  * 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;
 }
Exemplo n.º 2
0
 /**
  * Get Video by ID
  *
  * @param string $id
  * @return $this
  */
 public function getVideoById($id)
 {
     return $this->queryBuilder->setCommand('video')->setId($id);
 }
Exemplo n.º 3
0
 /**
  * Get Song Profile
  *
  * @param $id
  * @return $this
  */
 public function getSongProfile($id)
 {
     return $this->queryBuilder->setCommand('profile')->setOption('id', $id);
 }
Exemplo n.º 4
0
 /**
  * Post Upload Track ()
  *
  * @param $url
  * @return $this
  */
 public function postUploadTrack($url)
 {
     $this->queryBuilder->method = 'post';
     return $this->queryBuilder->setCommand('upload')->setOption('url', $url);
 }