janyksteenbeek/ytx-cochannels

This package is abandoned and no longer maintained. No replacement package was suggested.

Invite and remove channels from your content owner

0.1.1 2015-10-27 11:00 UTC

This package is auto-updated.

Last update: 2020-11-15 18:32:37 UTC


README

This library allows you to link and remove channels from your YouTube content owner.

This library was intented to work with Legacy CMS. As YouTube recently started migrating all features to ReCMS (YouTube Studio), this package no longer works and therefore will be archived.

Latest Stable Version Total Downloads License SensioLabsInsight

Add channels

/**
 * Add (a) channel(s) to the content owner
 *
 * @param $channels
 * @param bool $canViewRevenue
 * @param bool $webClaiming
 * @return bool|mixed
 */
public function addChannel($channels, $canViewRevenue = true, $webClaiming = true)

Remove channels

/**
 * Remove (a) channel(s) from the content owner
 * Note: You have to specify a channel ID without UC
 *
 * @param $channels
 * @return bool|mixed
 */
public function removeChannel($channels)