質問編集履歴
3
訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,61 +64,7 @@
|
|
64
64
|
|
65
65
|
}
|
66
66
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
//以下API
|
76
|
-
|
77
|
-
{
|
78
|
-
|
79
|
-
"kind": "youtube#channelListResponse",
|
80
|
-
|
81
|
-
"etag": "\"ZG3FIn5B5vcHjQiQ9nDOCWdxwWo/DjP6xsgpAjQyROQrB2WvAF8c4mE\"",
|
82
|
-
|
83
|
-
"pageInfo": {
|
84
|
-
|
85
|
-
"totalResults": 1,
|
86
|
-
|
87
|
-
"resultsPerPage": 1
|
88
|
-
|
89
|
-
},
|
90
|
-
|
91
|
-
"items": [
|
92
|
-
|
93
|
-
{
|
94
|
-
|
95
|
-
"kind": "youtube#channel",
|
96
|
-
|
97
|
-
"etag": "\"ZG3FIn5B5vcHjQiQ9nDOCWdxwWo/PptByFkj5D3athusMlVIhn7FON4\"",
|
98
|
-
|
99
|
-
"id": "UC4YaOt1yT-ZeyB0OmxHgolA",
|
100
|
-
|
101
|
-
"statistics": {
|
102
|
-
|
103
|
-
"viewCount": "110937289",
|
104
|
-
|
105
|
-
"commentCount": "0",
|
106
|
-
|
107
|
-
"subscriberCount": "1783000",
|
108
|
-
|
109
|
-
"hiddenSubscriberCount": false,
|
110
|
-
|
111
|
-
"videoCount": "344"
|
112
|
-
|
113
|
-
}
|
114
|
-
|
115
|
-
}
|
116
|
-
|
117
|
-
]
|
118
|
-
|
119
|
-
}
|
120
|
-
|
121
|
-
|
67
|
+
javaScript
|
122
68
|
|
123
69
|
ソースコード
|
124
70
|
|
2
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
var channelID = channelUrl.slice(32);
|
46
46
|
|
47
|
-
var apiUrl = 'https://www.googleapis.com/youtube/v3/channels?part=statistics&id=' + channelID +'&key=
|
47
|
+
var apiUrl = 'https://www.googleapis.com/youtube/v3/channels?part=statistics&id=' + channelID +'&key=xxxxxxxxxxxxxxxxxx';
|
48
48
|
|
49
49
|
var response = UrlFetchApp.fetch(apiUrl);
|
50
50
|
|