-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathholodex_v2.yaml
More file actions
1441 lines (1413 loc) · 56.2 KB
/
Copy pathholodex_v2.yaml
File metadata and controls
1441 lines (1413 loc) · 56.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.2
info:
title: Holodex/HoloAPI V2
version: '2.0'
description: Holodex Public API. Successor to the HoloAPI v1
servers:
- url: 'https://holodex.net/api/v2'
description: Prod Server
components:
schemas:
Comment:
type: object
properties:
comment_key:
type: string
video_id:
type: string
message:
type: string
Channel:
type: object
properties:
id:
type: string
name:
type: string
english_name:
type: string
nullable: true
type:
type: string
enum:
- vtuber
- subber
org:
type: string
nullable: true
suborg:
type: string
nullable: true
photo:
type: string
nullable: true
banner:
type: string
nullable: true
twitter:
type: string
nullable: true
video_count:
type: string
nullable: true
subscriber_count:
type: string
nullable: true
view_count:
type: string
nullable: true
clip_count:
type: string
nullable: true
lang:
type: string
nullable: true
published_at:
type: string
format: date-time
inactive:
type: boolean
description:
type: string
Video:
type: object
x-examples: {}
properties:
id:
type: string
title:
type: string
type:
type: string
enum:
- stream
- clip
topic_id:
type: string
description: >-
corresponds to a Topic ID, Videos of type `clip` cannot not have
topic. Streams may or may not have topic.
example: minecraft
nullable: true
published_at:
type: string
format: date-time
nullable: true
available_at:
type: string
format: date-time
description: >-
Takes on the first non-null value of end_actual, start_actual,
start_scheduled, or published_at
duration:
type: integer
description: Duration of the video in seconds
status:
type: string
enum:
- new
- upcoming
- live
- past
- missing
start_scheduled:
description: Included when includes contains 'live_info'
type: string
format: date-time
nullable: true
start_actual:
description: Included when includes contains 'live_info'
type: string
format: date-time
nullable: true
end_actual:
description: Included when includes contains 'live_info'
type: string
format: date-time
nullable: true
live_viewers:
description: Included when includes contains 'live_info'
type: integer
nullable: true
description:
description: Included when includes contains 'description'
type: string
songcount:
type: number
description: Number of tagged songs for this video
channel_id:
type: string
ChannelMin:
type: object
properties:
id:
type: string
name:
type: string
english_name:
type: string
nullable: true
type:
type: string
enum:
- vtuber
- subber
photo:
type: string
VideoWithChannel:
allOf:
- $ref: '#/components/schemas/Video'
- type: object
properties:
channel:
$ref: '#/components/schemas/ChannelMin'
VideoFull:
title: VideoFull
allOf:
- $ref: '#/components/schemas/Video'
- type: object
properties:
clips:
type: array
description: Included when 'includes' contains 'clips'
nullable: true
items:
$ref: '#/components/schemas/VideoWithChannel'
sources:
type: array
description: Included when 'includes' contains 'sources'
nullable: true
items:
$ref: '#/components/schemas/VideoWithChannel'
refers:
type: array
description: Included when 'includes' contains 'refers'
nullable: true
items:
$ref: '#/components/schemas/VideoWithChannel'
simulcasts:
type: array
description: Included when 'includes' contains 'simulcasts'
nullable: true
items:
$ref: '#/components/schemas/VideoWithChannel'
mentions:
type: array
description: >-
VTubers mentioned by this video, Included when 'includes'
contains 'mentions'
nullable: true
items:
allOf:
- $ref: '#/components/schemas/ChannelMin'
- type: object
properties:
org:
type: string
description: Org of the Mentioned Channel
nullable: true
songs:
type: number
description: Number of songs
nullable: true
x-examples:
example-1: {}
parameters:
videoType:
name: type
in: query
required: false
description: Filter by type of video
schema:
type: string
enum:
- stream
- clip
videoLang:
name: lang
in: query
required: false
description: >-
A comma separated list of language codes to filter channels/clips,
official streams do not follow this parameter
schema:
type: string
example: 'en,ja'
default: all
videoChannelId:
name: channel_id
in: query
required: false
description: Filter by video uploader channel id
schema:
type: string
example: UCl_gCybOJRIgOXw6Qb4qJzQ
videoTopicId:
name: topic
in: query
required: false
description: Filter by video topic id
schema:
type: string
example: singing
videoSort:
name: sort
in: query
required: false
description: Sort by any returned video field
schema:
type: string
example: start_scheduled
default: available_at
order:
name: order
in: query
required: false
description: Order by ascending or descending
schema:
type: string
enum:
- asc
- desc
default: desc
videoInclude:
name: include
in: query
required: false
description: Comma separated list of extra info for video
style: form
schema:
items:
type: string
enum:
- clips
- refers
- sources
- simulcasts
- mentions
- description
- live_info
- channel_stats
- songs
example: 'live_info,clips'
type: array
explode: false
limit:
name: limit
in: query
required: false
description: Results limit
schema:
type: integer
default: 25
maximum: 50
offset:
name: offset
in: query
required: false
description: Offset results
schema:
type: integer
default: 0
videoStatus:
name: status
description: Filter by video status
in: query
required: false
schema:
type: string
enum:
- new
- upcoming
- live
- past
- missing
example: past
videoMentionedChannelId:
name: mentioned_channel_id
in: query
required: false
description: >-
Filter by mentioned channel id, excludes itself. Generally used to find
collabs/clips that include the requested channel
schema:
type: string
org:
name: org
in: query
required: false
description: >-
Filter by clips that feature the org's talent or videos posted by the
org's talent
schema:
type: string
example: Hololive
paginated:
name: paginated
in: query
schema:
type: string
default: <empty>
description: >-
If paginated is set to any non-empty value, return an object with total,
otherwise returns an array.
allowEmptyValue: true
channelId:
name: channelId
in: path
required: true
schema:
type: string
description: ID of the Youtube Channel that is being queried
videoId:
name: videoId
in: path
required: true
schema:
type: string
description: ID of a Youtube Video
videoMaxUpcomingHours:
name: max_upcoming_hours
in: query
required: false
schema:
type: number
example: 24
description: >-
Number of maximum hours upcoming to get upcoming videos by (for
rejecting waiting rooms that are two years out)
videoIdentifier:
name: id
in: query
required: false
schema:
type: string
description: >-
A single Youtube Video ID. If Specified, only this video can be returned
(may be filtered out by other conditions though)
channelType:
name: type
in: query
required: false
schema:
type: string
enum:
- subber
- vtuber
description: >-
Type of Channel, whether it's a vtuber or a subber. Leave unset to query
all.
securitySchemes:
STOPLIGHT:
name: X-APIKEY
type: apiKey
in: header
paths:
/live:
get:
parameters:
- $ref: '#/components/parameters/videoChannelId'
- $ref: '#/components/parameters/videoStatus'
- $ref: '#/components/parameters/videoLang'
- $ref: '#/components/parameters/videoType'
- $ref: '#/components/parameters/videoTopicId'
- $ref: '#/components/parameters/videoInclude'
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/videoMentionedChannelId'
- $ref: '#/components/parameters/videoSort'
- $ref: '#/components/parameters/order'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/paginated'
- $ref: '#/components/parameters/videoMaxUpcomingHours'
- $ref: '#/components/parameters/videoIdentifier'
responses:
'200':
description: OK
content:
application/json:
schema:
oneOf:
- type: array
items:
$ref: '#/components/schemas/Video'
- type: object
properties:
total:
type: number
items:
type: array
items:
$ref: '#/components/schemas/Video'
examples:
example-1:
value:
- available_at: '2021-05-13T19:59:59.000Z'
channel:
english_name: Ninomae Ina’nis
id: UCMwGHR0BTZuLsmjY_NT5Pwg
name: Ninomae Ina'nis Ch. hololive-EN
photo: >-
https://yt3.ggpht.com/ytc/AAUvwng37V0l-NwF3bu7QA4XmOP5EZFwk5zJE-78OHP9=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: 89rZZO10m0k
live_viewers: 12685
published_at: '2021-05-13T13:47:09.000Z'
start_actual: '2021-05-13T19:59:59.000Z'
start_scheduled: '2021-05-13T20:00:00.000Z'
status: live
title: 【Minecraft】 waHHHH
topic_id: minecraft
type: stream
- available_at: '2021-05-13T23:00:00.000Z'
channel:
english_name: Kishido Temma
id: UCGNI4MENvnsymYjKiZwv9eg
name: Temma Ch. 岸堂天真
photo: >-
https://yt3.ggpht.com/ytc/AAUvwnjek7CeN83n90k6OaFaezz0vdgXe5RYaxl_nPaX=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: CPD_nW0rcnk
published_at: '2021-05-13T16:48:21.000Z'
start_scheduled: '2021-05-13T23:00:00.000Z'
status: upcoming
title: >-
【STUDY】New Studying EN
Application!!新しい英語勉強ソフトやってみる【岸堂天真/ホロスターズ】
topic_id: english_only
type: stream
- available_at: '2021-05-14T03:00:00.000Z'
channel:
english_name: Shirogane Noel
id: UCdyqAaZDKHXg4Ahi7VENThQ
name: Noel Ch. 白銀ノエル
photo: >-
https://yt3.ggpht.com/ytc/AAUvwnijLF2X1YBVQo3rClt7ub29cYM7OzpmRmliaGbw=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: uAGM8d4-X2U
published_at: '2021-05-13T17:17:06.000Z'
start_scheduled: '2021-05-14T03:00:00.000Z'
status: upcoming
title: "Let’s study English together\U0001F4DD超絶久々のDuolingo!【白銀ノエル/ホロライブ】"
topic_id: english_only
type: stream
- available_at: '2021-05-14T10:00:00.000Z'
channel:
english_name: Kanade Izuru
id: UCZgOv3YDEs-ZnZWDYVwJdmA
name: Izuru Ch. 奏手イヅル
photo: >-
https://yt3.ggpht.com/ytc/AAUvwnhNA5NPSYpFiMba_lmeNqYZJ4bVtZKf-5g5YlxGcA=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 197
id: d0NXC7POoUs
published_at: '2021-05-12T03:04:58.000Z'
start_scheduled: '2021-05-14T10:00:00.000Z'
status: upcoming
title: 【歌ってみた】ジャガーノート【奏手イヅル/アステル・レダ】
topic_id: singing
type: stream
- available_at: '2021-05-14T10:00:00.000Z'
channel:
english_name: Sakura Miko
id: UC-hM6YJuNYVAmUWxeIr9FeA
name: Miko Ch. さくらみこ
photo: >-
https://yt3.ggpht.com/ytc/AAUvwniR0ijvAPNICEVzF8Pz0kSkuhBLKXd31oc5yO-0AQ=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: BLDvnztpcXM
published_at: '2021-05-13T18:04:52.000Z'
start_scheduled: '2021-05-14T10:00:00.000Z'
status: upcoming
title: 【 】よていち!【ホロライブ/さくらみこ】
type: stream
- available_at: '2021-05-14T11:00:00.000Z'
channel:
english_name: Oozora Subaru
id: UCvzGlP9oQwU--Y0r9id_jnA
name: Subaru Ch. 大空スバル
photo: >-
https://yt3.ggpht.com/ytc/AAUvwniCgko15I_x5bYWm0G2vnf5hZqD5hLOtLEDw0Na=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: pGdQB7nPOi8
published_at: '2021-05-13T10:00:39.000Z'
start_scheduled: '2021-05-14T11:00:00.000Z'
status: upcoming
title: 【】単発クイズゲー【】
type: stream
- available_at: '2021-05-14T12:00:00.000Z'
channel:
english_name: Natsuiro Matsuri
id: UCQ0UDLQCjY0rmuxCDE38FGg
name: Matsuri Channel 夏色まつり
photo: >-
https://yt3.ggpht.com/ytc/AAUvwni8cjtyc08E7rocvO9_gR1b5BhO1O6O1VreDxMW=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: tpVtbVVBnSs
published_at: '2021-05-13T20:01:50.000Z'
start_scheduled: '2021-05-14T12:00:00.000Z'
status: upcoming
title: 【APEX】うるか幼稚園まゆげ組/CRカスタム#6【ホロライブ/夏色まつり】
topic_id: apex
type: stream
- available_at: '2021-05-14T12:00:00.000Z'
channel:
english_name: Arurandeisu
id: UCKeAhJvy8zgXWbh9duVjIaQ
name: Aruran Ch. アルランディス
photo: >-
https://yt3.ggpht.com/ytc/AAUvwnjIqTphTjcWJLTftb3ppGk71CVwCYaH2M5KkmZOAQ=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: wyJTO7CXOHc
published_at: '2021-05-13T12:10:17.000Z'
start_scheduled: '2021-05-14T12:00:00.000Z'
status: upcoming
title: 【#アラボ 】その筋トレ目的に合わせて考えてますか!? -ARN's Lab-【アルランディス/ホロスターズ】
type: stream
- available_at: '2021-05-14T12:00:00.000Z'
channel:
english_name: Shishiro Botan
id: UCUKD-uaobj9jiqB-VXt71mA
name: Botan Ch.獅白ぼたん
photo: >-
https://yt3.ggpht.com/ytc/AAUvwngRC-JqguPnj9ljVH3UulyfdlyQzLYzLeSrhvD6=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: X1xXG2qIJWg
published_at: '2021-05-13T19:21:29.000Z'
start_scheduled: '2021-05-14T12:00:00.000Z'
status: upcoming
title: >-
【バイオハザードヴィレッジ】イーサンと次のステージへ―Resident Evil
Village【獅白ぼたん/ホロライブ】
topic_id: residentevil
type: stream
- available_at: '2021-05-14T13:00:00.000Z'
channel:
english_name: Mori Calliope
id: UCL_qhgtOy0dy1Agp8vkySQg
name: Mori Calliope Ch. hololive-EN
photo: >-
https://yt3.ggpht.com/ytc/AAUvwniY6zzRc3nUO1zLCBlmaAxeLNDoVWjw0hKGztvJ=s800-c-k-c0x00ffffff-no-rj-mo
type: vtuber
duration: 0
id: _F2ITnPX7lg
published_at: '2021-05-13T14:01:53.000Z'
start_scheduled: '2021-05-14T13:00:00.000Z'
status: upcoming
title: >-
【MINECRAFT】 Cabin Barbecue Vibes, Dead Beats!
#hololiveEnglish #holoMyth
topic_id: minecraft
type: stream
- available_at: '2021-05-14T13:00:00.000Z'
channel:
english_name: Sakura Miko
id: UC-hM6YJuNYVAmUWxeIr9FeA
name: Miko Ch. さくらみこ
photo: >-
https://yt3.ggpht.com/ytc/AAUvwniR0ijvAPNICEVzF8Pz0kSkuhBLKXd31oc5yO-0AQ=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: j-Y0xgqNXWc
published_at: '2021-05-13T18:10:37.000Z'
start_scheduled: '2021-05-14T13:00:00.000Z'
status: upcoming
title: 【 ウマ娘プリティーダービー 】【ホロライブ/さくらみこ】
topic_id: umamusume
type: stream
- available_at: '2021-05-14T13:00:00.000Z'
channel:
english_name: Rikkaroid
id: UC9mf_ZVpouoILRY9NUIaK-w
name: Rikka ch.律可
photo: >-
https://yt3.ggpht.com/ytc/AAUvwnghUH22DLP22EHC3PZP7xXzJFd7qS_scK95WhaQ=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: q2s5d8A_pm0
published_at: '2021-05-12T10:47:10.000Z'
start_scheduled: '2021-05-14T13:00:00.000Z'
status: upcoming
title: '#16【RiTunes Labo】生セッション歌枠:ゲスト『miro』【律可/ホロスターズ 】#りちゅらぼ'
topic_id: singing
type: stream
- available_at: '2021-05-14T14:00:00.000Z'
channel:
english_name: Shiranui Flare
id: UCvInZx9h3jC2JzsIzoOebWg
name: Flare Ch. 不知火フレア
photo: >-
https://yt3.ggpht.com/ytc/AAUvwngtkUgGkgWTz57Er3GSzuMUR07HISM_yDhKQFnR_A=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: q-pIKINMwig
published_at: '2021-05-13T21:58:01.000Z'
start_scheduled: '2021-05-14T14:00:00.000Z'
status: upcoming
title: 【GTAV】感動のフィナーレ・・・?The emotional finale...?【ホロライブ/不知火フレア】
topic_id: gta5
type: stream
- available_at: '2021-05-14T14:30:00.000Z'
channel:
english_name: Tokino Sora
id: UCp6993wxpyDPHUpavwDFqgg
name: SoraCh. ときのそらチャンネル
photo: >-
https://yt3.ggpht.com/ytc/AAUvwngZmr_qbKhGIvHaHwLRmKhKxdeFfM7ZbK316vFNSw=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: T4FmAguGOI0
published_at: '2021-05-13T15:18:16.000Z'
start_scheduled: '2021-05-14T14:30:00.000Z'
status: upcoming
title: 【誕生日】カウントダウンするよぬんぬん!!【#ときのそら誕生日2021】
type: stream
- available_at: '2021-05-14T15:00:00.000Z'
channel:
english_name: Himemori Luna
id: UCa9Y57gfeY0Zro_noHRVrnw
name: Luna Ch. 姫森ルーナ
photo: >-
https://yt3.ggpht.com/ytc/AAUvwngV89Ez1--ZzNX3jCA082Mt-JGRZEXZ1lmW876a-w=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: IYhUfwJuGEo
published_at: '2021-05-13T17:26:21.000Z'
start_scheduled: '2021-05-14T15:00:00.000Z'
status: upcoming
title: "【 酒と肴 】高級クラブルーナ\U0001F378オープンするのらっ!✨(・o・\U0001F36C)【姫森ルーナ/ホロライブ】"
type: stream
- available_at: '2021-05-14T17:00:00.000Z'
channel:
english_name: Natsuiro Matsuri
id: UCQ0UDLQCjY0rmuxCDE38FGg
name: Matsuri Channel 夏色まつり
photo: >-
https://yt3.ggpht.com/ytc/AAUvwni8cjtyc08E7rocvO9_gR1b5BhO1O6O1VreDxMW=s800-c-k-c0x00ffffff-no-rj
type: vtuber
duration: 0
id: jDANZuw6IDM
published_at: '2021-05-12T23:53:59.000Z'
start_scheduled: '2021-05-14T17:00:00.000Z'
status: upcoming
title: 【Minecraft】睡眠導入 / ムーンハウス作成!【ホロライブ/夏色まつり】
topic_id: minecraft
type: stream
summary: Query Live and Upcoming Videos
description: >-
This is somewhat similar to calling `/videos`.
However, this endpoint imposes these default values on the query
parameters: You can choose to override them by providing your own
values.
status: [STATUSES.LIVE, STATUSES.UPCOMING].join(','),
type: 'stream',
sort: 'available_at',
order: 'asc',
max_upcoming_hours: 48,
limit: 9999,
include: live_info + query's include
/videos:
get:
parameters:
- $ref: '#/components/parameters/videoChannelId'
- $ref: '#/components/parameters/videoStatus'
- $ref: '#/components/parameters/videoLang'
- $ref: '#/components/parameters/videoType'
- $ref: '#/components/parameters/videoTopicId'
- $ref: '#/components/parameters/videoInclude'
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/videoMentionedChannelId'
- $ref: '#/components/parameters/videoSort'
- $ref: '#/components/parameters/order'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/paginated'
- $ref: '#/components/parameters/videoMaxUpcomingHours'
- $ref: '#/components/parameters/videoIdentifier'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VideoFull'
summary: Query Videos
description: >-
Pretty much everything you need. This is the most 'vanilla' variant with
almost no preset values, and `/channels/{channelId}/{type}` and `/live`
endpoints both use the same query structure but provision default values
differently for some of the query params.
Not as powerful at searching arbitrary text as the Search API (currently
not documented/available).
'/channels/{channelId}':
get:
description: ''
operationId: get-v2-channels-channelId
parameters: []
responses:
'200':
content:
application/json:
examples:
example-1:
value:
banner: >-
https://yt3.ggpht.com/U2KIthUFXtUHa0j5kosrZ1IHTr2sSRZ0nC7wh3_HrLF4a35Zp4-2TzqRqO8HJE04w5-BwW73fg
clip_count: null
comments_crawled_at: null
crawled_at: '2021-05-13T20:44:14.001Z'
created_at: '2021-04-23T07:21:00.045Z'
description: |
I make translated clips from Hololive and Vtubers.
english_name: null
id: UC4Fh9OcvIEWK405Cvg25jDw
inactive: false
lang: en
name: 'Sushi [Hololive and Vtubers]'
org: null
photo: >-
https://yt3.ggpht.com/ytc/AAUvwnjZ3i5csnFMZqorfAHE7JUuD8VdWJDcJbwt2YiK=s800-c-k-c0x00ffffff-no-rj
published_at: '2020-05-26T06:35:52.412Z'
suborg: null
subscriber_count: '163000'
thumbnail: >-
https://yt3.ggpht.com/ytc/AAUvwnjZ3i5csnFMZqorfAHE7JUuD8VdWJDcJbwt2YiK=s88-c-k-c0x00ffffff-no-rj
twitter: null
type: subber
updated_at: '2021-05-13T15:00:05.766Z'
video_count: '1586'
view_count: '135584366'
yt_uploads_id: UU4Fh9OcvIEWK405Cvg25jDw
schema:
$ref: '#/components/schemas/Channel'
description: Success
summary: Get Channel Information
parameters:
- $ref: '#/components/parameters/channelId'
'/channels/{channelId}/{type}':
get:
description: >-
A simplified endpoint for access channel specific data. If you want more
customization, the same result can be obtained by calling the `/videos`
endpoint.
operationId: get-v2-channels-channelId-clips
parameters:
- $ref: '#/components/parameters/videoLang'
- $ref: '#/components/parameters/videoInclude'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/paginated'
responses:
'200':
description: Success
content:
application/json:
schema:
oneOf:
- type: object
properties:
total:
type: number
items:
type: array
items:
$ref: '#/components/schemas/VideoFull'
- type: array
items:
$ref: '#/components/schemas/VideoFull'
summary: Query Videos Related to Channel
parameters:
- $ref: '#/components/parameters/channelId'
- schema:
type: string
enum:
- clips
- videos
- collabs
name: type
in: path
required: true
description: >-
The type of video resource to fetch. Clips finds clip videos of a
`vtuber` channel, Video finds the `channelId` channel's uploads, and
collabs finds videos uploaded by other channels that mention this
`channelId`
/users/live:
get:
summary: Quickly Access Live / Upcoming for a set of Channels
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Video'
operationId: get-cached-live
parameters:
- schema:
type: string
in: query
name: channels
description: comma separated Youtube Channel IDs
description: >-
This endpoint is similar to the /live endpoint and usually replies much
faster. It is more friendly in general. The cost to execute a lookup is
significantly cheaper. It's unfortunately less customizable as a result.
We recommends using this if you have a fixed set of channel IDs to look
up status for.
parameters: []
'/videos/{videoId}':
parameters:
- $ref: '#/components/parameters/videoId'
get:
summary: Get a single Video's metadata
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/VideoFull'
- type: object
properties:
comments:
type: array
description: Comments are only returned if c === '1'
items:
$ref: '#/components/schemas/Comment'
recommendations:
type: array
items:
$ref: '#/components/schemas/Video'
operationId: get-videos-videoId
parameters:
- $ref: '#/components/parameters/videoLang'
- schema:
type: string
example: '1'
enum:
- '1'
- '0'
in: query
name: c
description: if `1` then will reply with timestamp comments for this video
description: |-
Retrieves a video object.
Also retrieves Comments if query parameter `c` is set.
Also retrieves Recommendations if query parameter `lang` is set
/channels:
get:
summary: List Channels
tags: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
description: Array of Channels up to `limit` count.
items:
$ref: '#/components/schemas/Channel'
operationId: get-channels
description: ''
parameters:
- $ref: '#/components/parameters/channelType'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/limit'
- in: query
name: org
description: 'If set, filter for Vtuber belonging to a specific org'
schema:
example: Hololive
type: string
- schema:
type: string
example: 'en,ja,zh'
in: query
name: lang
description: >-
Comma separated list of languages. Language is a property of
Channel, so only Channels satisfying the language will be returned.
Leave empty to search for Vtubers and/or all clippers.
- schema:
type: string
in: query
name: sort
description: >-
Column to sort on, leave default to use 'org' as sort. Any first
level property of channel should work here.
- schema:
type: string
enum:
- asc
- desc
in: query
name: order
description: 'ASC or DESC order, default asc.'
parameters: []
/search/videoSearch:
post:
summary: ''
operationId: post-search-videoSearch
responses:
'200':
description: OK
content:
application/json:
schema:
oneOf:
- type: array
items:
$ref: '#/components/schemas/VideoWithChannel'
- type: object
properties:
total:
type: number
items:
type: array
items:
$ref: '#/components/schemas/VideoWithChannel'
description: >-
Flexible endpoint to search for videos fufilling multiple conditions.
Descriptions with "any" implies an OR condition, and "all" implies a AND
condition.
Searching for topics and clips is not supported, because clips do not