twitch clips support added
This commit is contained in:
@@ -5,6 +5,9 @@ namespace VDownload.Sources.Twitch.Configuration.Models{
|
||||
{
|
||||
[ConfigurationKeyName("vod")]
|
||||
public DownloadVod Vod { get; set; }
|
||||
|
||||
[ConfigurationKeyName("clip")]
|
||||
public DownloadClip Clip { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VDownload.Sources.Twitch.Configuration.Models
|
||||
{
|
||||
public class DownloadClip
|
||||
{
|
||||
[ConfigurationKeyName("file_name")]
|
||||
public string FileName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,9 @@ namespace VDownload.Sources.Twitch.Configuration.Models
|
||||
[ConfigurationKeyName("get_videos")]
|
||||
public string GetVideos { get; set; }
|
||||
|
||||
[ConfigurationKeyName("get_clips")]
|
||||
public string GetClips { get; set; }
|
||||
|
||||
[ConfigurationKeyName("get_users")]
|
||||
public string GetUsers { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VDownload.Sources.Twitch.Configuration.Models
|
||||
{
|
||||
public class GetClipToken
|
||||
{
|
||||
[ConfigurationKeyName("operation_name")]
|
||||
public string OperationName { get; set; }
|
||||
|
||||
[ConfigurationKeyName("persisted_query_version")]
|
||||
public int PersistedQueryVersion { get; set; }
|
||||
|
||||
[ConfigurationKeyName("persisted_query_hash")]
|
||||
public string PersistedQueryHash { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,9 @@ namespace VDownload.Sources.Twitch.Configuration.Models{
|
||||
{
|
||||
[ConfigurationKeyName("get_video_token")]
|
||||
public GetVideoToken GetVideoToken { get; set; }
|
||||
|
||||
[ConfigurationKeyName("get_clip_token")]
|
||||
public GetClipToken GetClipToken { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user