This repository was archived by the owner on May 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # YAB ?! Counts OpenAPI Specification
2+
3+ This repository contains the [ OpenAPI specification] ( https://www.openapis.org/ ) for the YAB ?! Counts Public API.
Original file line number Diff line number Diff line change 1+ openapi : " 3.0.3"
2+ info :
3+ title : YAB ?! Counts
4+ version : 1.0.2
5+ description : " Reimagining the concept of live counters."
6+ servers :
7+ - url : https://api.yabcounts.com/public
8+ security :
9+ - apiKey : []
10+ paths :
11+ /youtube/channel/{channel_id} :
12+ get :
13+ summary : Get a YouTube channel
14+ parameters :
15+ - name : channel_id
16+ in : path
17+ required : true
18+ schema :
19+ type : string
20+ description : The ID of the YouTube channel.
21+ example : UCX6OQ3DkcsbYNE6H8uQQuVA
22+ - name : fields
23+ in : query
24+ required : false
25+ schema :
26+ type : string
27+ description : Used to specify the specific fields you want from the response.
28+ example : name,statistics.subscriberCount
29+ responses :
30+ " 200 " :
31+ description : OK
32+ content :
33+ application/json :
34+ schema :
35+ type : object
36+ properties :
37+ id :
38+ type : string
39+ name :
40+ type : string
41+ handle :
42+ type : string
43+ url :
44+ type : string
45+ thumbnail :
46+ type : string
47+ banner :
48+ type : string
49+ statistics :
50+ type : object
51+ properties :
52+ subscriberCount :
53+ type : integer
54+ publicSubscriberCount :
55+ type : integer
56+ viewCount :
57+ type : integer
58+ /youtube/video/{video_id} :
59+ get :
60+ summary : Get a YouTube video
61+ parameters :
62+ - name : video_id
63+ in : path
64+ required : true
65+ schema :
66+ type : string
67+ description : The ID of the YouTube video.
68+ example : QjvpjXdgugA
69+ - name : fields
70+ in : query
71+ required : false
72+ schema :
73+ type : string
74+ description : Used to specify the specific fields you want from the response.
75+ example : name,statistics.viewCount
76+ responses :
77+ " 200 " :
78+ description : OK
79+ content :
80+ application/json :
81+ schema :
82+ type : object
83+ properties :
84+ id :
85+ type : string
86+ name :
87+ type : string
88+ description :
89+ type : string
90+ publishedAt :
91+ type : string
92+ thumbnail :
93+ type : string
94+ url :
95+ type : string
96+ creatorName :
97+ type : string
98+ statistics :
99+ type : object
100+ properties :
101+ viewCount :
102+ type : integer
103+ likeCouunt :
104+ type : integer
105+ commentCount :
106+ type : integer
107+ components :
108+ securitySchemes :
109+ apiKey :
110+ type : apiKey
111+ in : query
112+ name : key
You can’t perform that action at this time.
0 commit comments