forked from IonicaBizau/youtube-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.01 KB
/
package.json
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
{
"name": "youtube-api",
"version": "3.0.1",
"description": "A Node.JS module, which provides an object oriented wrapper for the Youtube v3 API.",
"main": "lib/index.js",
"author": "Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)",
"contributors": [
"Ionică Bizău <bizauionica@gmail.com>",
"Adam <aaschodd@asu.edu> (brutalhonesty)",
"Michael Scharl <developeme@gmail.com>",
"Vels <velshome@yahoo.com> (velsa)",
"Rasmus Karlsson <pajlada@bithack.se>",
"Brad Oyler <bradoyler@gmail.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/IonicaBizau/youtube-api.git"
},
"keywords": [
"youtube",
"api",
"v3",
"node"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/IonicaBizau/youtube-api/issues"
},
"dependencies": {
"googleapis": "^47.0.0"
},
"homepage": "https://github.com/IonicaBizau/youtube-api",
"directories": {
"example": "example"
},
"devDependencies": {
"bug-killer": "^4.2.2",
"lien": "^3.3.0",
"opn": "^4.0.1",
"pretty-bytes": "^3.0.1",
"r-json": "^1.2.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"blah": {
"show_jsdocs": false,
"documentation": [
"The [official Youtube documentation](https://developers.google.com/youtube/v3/docs/) is a very useful resource.",
{
"ul": [
"[Activities](https://developers.google.com/youtube/v3/docs/activities)",
"[ChannelBanners](https://developers.google.com/youtube/v3/docs/channelBanners)",
"[Channels](https://developers.google.com/youtube/v3/docs/channels)",
"[GuideCategories](https://developers.google.com/youtube/v3/docs/guideCategories)",
"[PlaylistItems](https://developers.google.com/youtube/v3/docs/playlistItems)",
"[Playlists](https://developers.google.com/youtube/v3/docs/playlists)",
"[Search](https://developers.google.com/youtube/v3/docs/search)",
"[Subscriptions](https://developers.google.com/youtube/v3/docs/subscriptions)",
"[Thumbnails](https://developers.google.com/youtube/v3/docs/thumbnails)",
"[VideoCategories](https://developers.google.com/youtube/v3/docs/videoCategories)",
"[Videos](https://developers.google.com/youtube/v3/docs/videos)"
]
},
"If you have any questions, please [ask them on **Stack Overflow**](https://stackoverflow.com/questions/ask) and eventually [open an issue](https://github.com/IonicaBizau/youtube-api/issues/new) and link your question there.",
"",
{
"h3": "Authentication"
},
"",
{
"h4": "OAuth (Access Token)"
},
{
"code": {
"language": "js",
"content": [
"Youtube.authenticate({",
" type: \"oauth\"",
" , token: \"your access token\"",
"});"
]
}
},
{
"h4": "OAuth (Refresh Token)"
},
{
"code": {
"language": "js",
"content": [
"Youtube.authenticate({",
" type: \"oauth\"",
" , refresh_token: \"your refresh token\"",
" , client_id: \"your client id\"",
" , client_secret: \"your client secret\"",
" , redirect_url: \"your refresh url\"",
"});"
]
}
},
{
"h4": "Server Key"
},
"Only for requests that don't require [user authorization](https://developers.google.com/youtube/v3/guides/authentication) (certain list operations)",
{
"code": {
"language": "js",
"content": [
"Youtube.authenticate({",
" type: \"key\"",
" , key: \"your server key\"",
"});"
]
}
}
]
},
"files": [
"bin/",
"app/",
"lib/",
"dist/",
"src/",
"scripts/",
"resources/",
"menu/",
"cli.js",
"index.js",
"bloggify.js",
"bloggify.json",
"bloggify/"
]
}