UNPKG
rhapsody-api
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
Rhapsody/Napster API for NodeJS
github.com/shifttechnology/rhapsody-api
shifttechnology/rhapsody-api
rhapsody-api
/
lib
/
Stations.js
12 lines
(11 loc)
•
238 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
var
utils =
require
(
"./utils"
);
function
Stations
(
) {
function
getAll
(
token
) {
var
u = utils.
buildMeUrl
(
"/stations"
);
return
utils.
handlePromise
(u, token); }
return
{
getAll
:getAll } }
module
.
exports
=
new
Stations
();