<commit_before><?php namespace CupOfTea\YouTube;

use Auth;
use Serializable;
use Illuminate\Http\Request;
use CupOfTea\Package\Package;
use CupOfTea\YouTube\Models\RefreshToken;
use Symfony\Component\HttpFoundation\RedirectResponse;
use CupOfTea\YouTube\Exceptions\InvalidStateException;
use CupOfTea\YouTube\Exceptions\UnauthorisedException;
use CupOfTea\YouTube\Exceptions\ResourceNotFoundException;
use CupOfTea\YouTube\Contracts\Provider as ProviderContract;

class YouTube implements ProviderContract, Serializable {

    use Package;
    
    const PACKAGE = 'CupOfTea/YouTube';
    const VERSION = '0.4.1-beta';
    
	/**
	 * Available Resources for this API.
	 *
	 * @var array
	 */
	protected $available_resources = ['activities', 'channels', 'guideCategories', 'i18n', 'playlists', 'search', 'subscriptions', 'thumbnails', 'videos', 'watermarks'];
    
	/**
	 * The API's base URL.
	 *
	 * @var array
	 */
    protected $base_url = 'https://www.googleapis.com';<commit_msg>Release: v0.5.0-beta<commit_after><?php namespace CupOfTea\YouTube;

use Auth;
use Serializable;
use Illuminate\Http\Request;
use CupOfTea\Package\Package;
use CupOfTea\YouTube\Models\RefreshToken;
use Symfony\Component\HttpFoundation\RedirectResponse;
use CupOfTea\YouTube\Exceptions\InvalidStateException;
use CupOfTea\YouTube\Exceptions\UnauthorisedException;
use CupOfTea\YouTube\Exceptions\ResourceNotFoundException;
use CupOfTea\YouTube\Contracts\Provider as ProviderContract;

class YouTube implements ProviderContract, Serializable {

    use Package;
    
    const PACKAGE = 'CupOfTea/YouTube';
    const VERSION = '0.5.0-beta';
    
	/**
	 * Available Resources for this API.
	 *
	 * @var array
	 */
	protected $available_resources = ['activities', 'channels', 'guideCategories', 'i18n', 'playlists', 'search', 'subscriptions', 'thumbnails', 'videos', 'watermarks'];
    
	/**
	 * The API's base URL.
	 *
	 * @var array
	 */
    protected $base_url = 'https://www.googleapis.com';
{'fraction_non_alphanumeric': 0.12253164556962025, 'fraction_numerical': 0.006582278481012658, 'mean_word_length': 4.727536231884058, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '865620', 'n_tokens_mistral': 652, 'n_tokens_neox': 627, 'n_words': 132}