{"id":35191034,"url":"https://github.com/dan1d/lbry-api-ruby","last_synced_at":"2026-05-19T08:07:20.682Z","repository":{"id":56880867,"uuid":"135771920","full_name":"dan1d/lbry-api-ruby","owner":"dan1d","description":"Ruby wrapper for LBRY and LBRYcrd APIs","archived":false,"fork":false,"pushed_at":"2018-07-21T21:44:17.000Z","size":47,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T22:30:52.617Z","etag":null,"topics":["cryptocurrency","lbry","lbrycrd-apis","ruby","ruby-wrapper"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dan1d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-01T23:29:16.000Z","updated_at":"2023-11-04T19:52:41.000Z","dependencies_parsed_at":"2022-08-20T22:31:15.111Z","dependency_job_id":null,"html_url":"https://github.com/dan1d/lbry-api-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dan1d/lbry-api-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1d%2Flbry-api-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1d%2Flbry-api-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1d%2Flbry-api-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1d%2Flbry-api-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dan1d","download_url":"https://codeload.github.com/dan1d/lbry-api-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1d%2Flbry-api-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33207632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptocurrency","lbry","lbrycrd-apis","ruby","ruby-wrapper"],"created_at":"2025-12-29T05:40:02.501Z","updated_at":"2026-05-19T08:07:20.677Z","avatar_url":"https://github.com/dan1d.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lbry\n\n\nLBRY is an open-source protocol providing distribution, discovery, and purchase of digital content (data) via a decentralized network.\nRuby wrapper for LBRY and LBRYcrd APIs\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'lbry'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install lbry\n\n## Usage\n\nAll methods listed on [Lbry API doc](https://lbryio.github.io/lbry) are working here and they have the same name and accept the same arguments, for example to call the method get example from the api doc: `curl 'http://localhost:5279' --data '{\"method\":\"get\",\"params\":{\"uri\":\"what\"} }'`, here you will need to do this\n```\nclient = Lbry::Client.new\nclient.get(uri: \"what\") =\u003e\n =\u003e #\u003cOpenStruct id=nil, jsonrpc=\"2.0\", result=#\u003cOpenStruct blobs_completed=76, blobs_in_stream=76, channel_claim_id=nil, channel_name=nil, claim_id=\"6769855a9aa43b67086f9ff3c1a5bacb5698a27a\", claim_name=\"what\", completed=true, download_directory=\"/home/r1/Downloads\", download_path=\"/home/r1/Downloads/LBRY100.mp4\", file_name=\"LBRY100.mp4\", key=\"0edc1705489d7a2b2bcad3fea7e5ce92\", metadata=#\u003cOpenStruct author=\"Samuel Bryan\", description=\"What is LBRY? An introduction with Alex Tabarrok\", language=\"en\", license=\"LBRY inc\", licenseUrl=\"\", nsfw=false, preview=\"\", thumbnail=\"https://s3.amazonaws.com/files.lbry.io/logo.png\", title=\"What is LBRY?\", version=\"_0_1_0\"\u003e, mime_type=\"video/mp4\", nout=0, outpoint=\"6c71c02c4990ce0590f6888a77ad11f1ae45486f6a4c56d5013954ee8f6356bc:0\", points_paid=0.0, sd_hash=\"d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b\", status=\"completed\", stopped=true, stream_hash=\"9f41e37b1ea706d1b431a65f634b89c5aadefb106280da3661e4d565d47bc938a345755cafb2af807bcfc9fbde3306e3\", stream_name=\"LBRY100.mp4\", suggested_file_name=\"LBRY100.mp4\", total_bytes=158433904, txid=\"6c71c02c4990ce0590f6888a77ad11f1ae45486f6a4c56d5013954ee8f6356bc\", written_bytes=158433824\u003e\u003e \n\n```\n\nExample on how to get a list of claims:\n```\nclient = Lbry::Client.new\nresponse = client.claim_list(name: \"lbry\")\nclaims = response.result.claims # array of claims\nclaims.first =\u003e #\u003cOpenStruct address=\"bTzDhXE4vK6fLqU9LSVgrBGYhxuSj8spH8\", amount=1.0, claim_id=\"2c63bcc26eb26d60e91fe99cd972e38bb64b3401\", claim_sequence=15, decoded_claim=true, depth=232551, effective_amount=1.0, has_signature=false, height=147432, hex=\"080110011adc010801129401080410011a0d57686174206973204c4252593f223057686174206973204c4252593f20416e20696e74726f64756374696f6e207769746820416c6578205461626172726f6b2a0c53616d75656c20427279616e32084c42525920696e6338004a2f68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f66696c65732e6c6272792e696f2f6c6f676f2e706e6752005a001a41080110011a30e3bcfb59a97efd76d5ce7533ff9aae8ad565df4b8d10db32b7296b07d2a3fbd41ba99c439cc972b567323fc97132041d2209766964656f2f6d7034\", name=\"lbry\", nout=0, permanent_url=\"lbry#2c63bcc26eb26d60e91fe99cd972e38bb64b3401\", supports=[], txid=\"32b2c71eb1edb47dfa1b9b645c35fa5a4fdc77b4d4eada08d747e21f3f0871a7\", valid_at_height=150075, value=#\u003cOpenStruct claimType=\"streamType\", stream=#\u003cOpenStruct metadata=#\u003cOpenStruct author=\"Samuel Bryan\", description=\"What is LBRY? An introduction with Alex Tabarrok\", language=\"en\", license=\"LBRY inc\", licenseUrl=\"\", nsfw=false, preview=\"\", thumbnail=\"https://s3.amazonaws.com/files.lbry.io/logo.png\", title=\"What is LBRY?\", version=\"_0_1_0\"\u003e, source=#\u003cOpenStruct contentType=\"video/mp4\", source=\"e3bcfb59a97efd76d5ce7533ff9aae8ad565df4b8d10db32b7296b07d2a3fbd41ba99c439cc972b567323fc97132041d\", sourceType=\"lbry_sd_hash\", version=\"_0_0_1\"\u003e, version=\"_0_0_1\"\u003e, version=\"_0_0_1\"\u003e\u003e \n```\n\nYou can also look under `test/fixtures/[method_name]/ to see how the response looks like.\n\nYou can get the list of supported methods [here](https://github.com/dan1d/lbry-api-ruby/blob/master/lib/lbry/client.rb#L6) and the API doc [here](https://lbryio.github.io/lbry), on the original API DOC you can see the list of arguments needed for each method call.\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/dan1d/lbry.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan1d%2Flbry-api-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan1d%2Flbry-api-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan1d%2Flbry-api-ruby/lists"}