Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정홍주
/
Coin-trade-assistant
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
전현진
2021-06-07 22:51:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
15600578ecbc8b2e12b5822126a20e4f5efd88d4
15600578
1 parent
c5da83ad
Delete index.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
index.js
index.js
deleted
100644 → 0
View file @
c5da83a
const
fetch
=
require
(
'node-fetch'
);
const
url
=
'https://api.upbit.com/v1/candles/minutes/1?market=KRW-XRP&count=1'
;
const
options
=
{
method
:
'GET'
,
headers
:
{
Accept
:
'application/json'
}};
fetch
(
url
,
options
)
.
then
(
res
=>
res
.
json
())
.
then
(
json
=>
console
.
log
(
json
[
0
].
trade_price
))
.
catch
(
err
=>
console
.
error
(
'error:'
+
err
));
\ No newline at end of file
Please
register
or
login
to post a comment