add lbry.getStreamInfo()

This commit is contained in:
Alex Liebowitz 2016-04-21 05:47:57 -04:00
parent 7f96f534a1
commit 80fdf2fd5f

View file

@ -95,6 +95,10 @@ lbry.search = function(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.call('version', {}, callback);
};