protected function _get_transient_api_data() {
		$transient_name = sprintf( 'wp_github_theme_updater_%1$s', $this->theme_name );
		$transient = get_transient( $transient_name );

		if ( false !== $transient ) {
			return $transient;
		}

		$api_data = $this->_get_github_api_data();
		set_transient( $transient_name, $api_data, 60 * 5 );
		return $api_data;
	}
protected function _get_transient_api_data() {
		$transient_name = sprintf( 'wp_github_theme_updater_%1$s', $this->theme_name );
		$transient = get_transient( $transient_name );

		if ( false !== $transient ) {
			return $transient;
		}

		$api_data = $this->_get_github_api_data();
		set_transient( $transient_name, $api_data, 60 * 5 );
		return $api_data;
	}
protected function _get_transient_api_data ( ) { $ transient_name = sprintf ( 'wp_github_theme_updater_%1$s' , $ this -> theme_name ) ; $ transient = get_transient ( $ transient_name ) ; if ( false !== $ transient ) { return $ transient ; } $ api_data = $ this -> _get_github_api_data ( ) ; set_transient ( $ transient_name , $ api_data , 60 * 5 ) ; return $ api_data ; }
Return the data from the Transient API or GitHub API.

@return object|WP_Error
Return the data from the Transient API or GitHub API .