mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 11:42:36 +01:00
pass some limit params
This commit is contained in:
parent
96926ab5fa
commit
a28ec17a6d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user