Toggle navigation
Toggle navigation
This project
Loading...
Sign in
조인천
/
Youtube_MPL
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
조인천
2019-05-21 22:52:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6739adc852f481e63b8e804b76a96ba3dda8c263
6739adc8
1 parent
aa9c5ad0
base
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
base.js
base.js
0 → 100644
View file @
6739adc
var
request
=
require
(
'request'
);
var
optionParams
=
{
q
:
"kakao"
,
part
:
"snippet"
,
key
:
"AIzaSyCgGa6aM7taXs4bajtYukbc_EQAKTLVTNc"
,
maxResult2
:
5
};
var
url
=
"https://www.googleapis.com/youtube/v3/search?"
;
for
(
var
option
in
optionParams
)
{
url
+=
option
+
"="
+
optionParams
[
option
]
+
"&"
;
}
url
=
url
.
substr
(
0
,
url
.
length
-
1
);
request
(
url
,
function
(
err
,
res
,
body
){
console
.
log
(
body
)
});
\ No newline at end of file
Please
register
or
login
to post a comment