add lbry.getStreamInfo()
This commit is contained in:
parent
7f96f534a1
commit
80fdf2fd5f
1 changed files with 4 additions and 0 deletions
|
@ -95,6 +95,10 @@ lbry.search = function(query, callback)
|
||||||
lbry.call("search_nametrie", { "search": query }, callback);
|
lbry.call("search_nametrie", { "search": query }, callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lbry.getStream = function(name, callback) {
|
||||||
|
lbry.call('get', { 'name': name }, callback);
|
||||||
|
};
|
||||||
|
|
||||||
lbry.getVersionInfo = function(callback) {
|
lbry.getVersionInfo = function(callback) {
|
||||||
lbry.call('version', {}, callback);
|
lbry.call('version', {}, callback);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue