Adds claim_search wrapper for lbrynet api

This commit is contained in:
Oleg Silkin 2019-08-09 00:50:59 -04:00
parent 6d2447bd29
commit d64044d3b2

View file

@ -57,6 +57,8 @@ async def write_comment(app, params):
async def hide_comment(app, comment_id): async def hide_comment(app, comment_id):
return await coroutine(hide_comment_by_id)(app['writer'], comment_id) return await coroutine(hide_comment_by_id)(app['writer'], comment_id)
async def claim_search(app, **kwargs):
return (await request_lbrynet(app, 'claim_search', **kwargs))['items'][0]
# comment_ids: [ # comment_ids: [
# { # {