Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/export/services/youtube-service
YouTubeService
Class YouTubeService
Index
Constructors
constructor
Methods
export
Settings
get
User
Info
get
Video
Categories
upload
Video
validate
Settings
Constructors
constructor
new
YouTubeService
()
:
YouTubeService
Returns
YouTubeService
Methods
Static
export
Settings
exportSettings
(
settings
:
SocialExportSettings
)
:
Promise
<
YouTubeVideoMetadata
>
Parameters
settings
:
SocialExportSettings
Returns
Promise
<
YouTubeVideoMetadata
>
Static
get
User
Info
getUserInfo
(
accessToken
?:
string
)
:
Promise
<
any
>
Parameters
Optional
accessToken
:
string
Returns
Promise
<
any
>
Static
get
Video
Categories
getVideoCategories
(
regionCode
?:
string
)
:
Promise
<
any
[]
>
Parameters
regionCode
:
string
= "US"
Returns
Promise
<
any
[]
>
Static
upload
Video
uploadVideo
(
videoFile
:
Blob
|
File
,
metadata
:
YouTubeVideoMetadata
,
onProgress
?:
(
progress
:
number
)
=>
void
,
)
:
Promise
<
YouTubeUploadResponse
>
Parameters
videoFile
:
Blob
|
File
metadata
:
YouTubeVideoMetadata
Optional
onProgress
:
(
progress
:
number
)
=>
void
Returns
Promise
<
YouTubeUploadResponse
>
Static
validate
Settings
validateSettings
(
settings
:
SocialExportSettings
)
:
string
[]
Parameters
settings
:
SocialExportSettings
Returns
string
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
export
Settings
get
User
Info
get
Video
Categories
upload
Video
validate
Settings
Timeline Studio API Documentation - v0.26.0
Loading...