3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

pass some limit params

This commit is contained in:
reality 2013-10-24 20:35:29 +00:00
parent 96926ab5fa
commit a28ec17a6d

View File

@ -32,7 +32,8 @@ var lastfm = function(dbot) {
'method': 'artist.gettoptracks', 'method': 'artist.gettoptracks',
'mbid': mbid, 'mbid': mbid,
'api_key': this.config.api_key, 'api_key': this.config.api_key,
'format': 'json' 'format': 'json',
'limit': 10
}, },
'json': true 'json': true
}, function(err, res, body) { }, function(err, res, body) {
@ -53,7 +54,8 @@ var lastfm = function(dbot) {
'method': 'artist.getsimilar', 'method': 'artist.getsimilar',
'mbid': mbid, 'mbid': mbid,
'api_key': this.config.api_key, 'api_key': this.config.api_key,
'format': 'json' 'format': 'json',
'limit': 10
}, },
'json': true 'json': true
}, function(err, res, body) { }, function(err, res, body) {