last.fm.api
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "last.fm.api", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "last.fm.api with Promises and ES6 style classes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -94,8 +94,10 @@ last.fm.api | ||
const key = require('./apikey.json'), | ||
API = require('../api'), | ||
api = new API(Object.assign(key, { | ||
API = require('last.fm.api'), | ||
api = new API({ | ||
apiKey: '<YOUR API KEY>', | ||
apiSecret: '<YOUR API SECRET>', | ||
debug: true, | ||
username: '<YOUR USERNAME>', | ||
password: '<YOUR PASSWORD>' | ||
})); | ||
}); | ||
@@ -102,0 +104,0 @@ // Get Mobile Session by supplying username and password into API constructor |
41124
123