Moved Last.fm key/secret into config.js
This commit is contained in:
@ -184,11 +184,7 @@ exports.getNewYorkTimes = function(req, res) {
|
|||||||
* Last.fm API example
|
* Last.fm API example
|
||||||
*/
|
*/
|
||||||
exports.getLastfm = function(req, res) {
|
exports.getLastfm = function(req, res) {
|
||||||
var lastfm = new LastFmNode({
|
var lastfm = new LastFmNode(config.lastfm);
|
||||||
api_key: '1f3e35019e98124cc8f75f8ae99df25f',
|
|
||||||
secret: '4ae76d10d76cf680cebf4f0c8dea1aa4'
|
|
||||||
});
|
|
||||||
|
|
||||||
async.parallel({
|
async.parallel({
|
||||||
artistInfo: function(done) {
|
artistInfo: function(done) {
|
||||||
lastfm.request("artist.getInfo", {
|
lastfm.request("artist.getInfo", {
|
||||||
|
Reference in New Issue
Block a user