UNPKG
spotifyapi_web_nodejs
Version:
latest (1.0.1)
1.0.1
1.0.0
Spotfiy Web Api for Node.JS
github.com/emirkanacar/spotify_nodejs
emirkanacar/spotify_nodejs
spotifyapi_web_nodejs
/
lib
/
authentication.js
13 lines
(10 loc)
•
288 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
const
request =
require
(
'./request'
);
const
index =
require
(
'../index'
);
module
.
exports
= {
tokenCheck
:
(
data, callback
) =>
{
let
options = {}; options.
url
=
"https://api.spotify.com/v1/"
;
request
(
'GET'
, options, callback); } }