lbry 0.1.6
lbry: ^0.1.6

Dart native js
Flutter Android iOS web

LBRY API binding for the Dart language. Use this library in order to make API calls to the lbry network as its running in the background.

LBRYDart #

LRBY API binding for the Dart Language #

Placeholder for actual information about this binding

Installation #

To install this package, first include lbry in your dependencies in your project's pubspec.yaml:

dependencies:
    lbry: any

Then, instlling for Native Dart or Flutter, you simply run $ pub get and $ flutter packages get, respectively.

Finally, you import the package in your code:

import 'package:lbry/lbry.dart';

And you're done!

Usage #

Simply import package:lbry/lbry.dart in your dart file, and initialize the API objects as follow:

import 'package:lbry/lbry.dart';

void main() {
  // optional timeout parameter
  LbrydApi api = LbrydApi(timeout: 5);
  
  // lbrycrd requires username and password
  LbrycrdApi api = LbrycrdApi("username", "password");
  
  // calling api method 'help' without args
  api.call("help");
  
  // calling resolve method with args
  api.call("resolve", params: {"name": "odder otter"});
  
}

Feedback

If you would like to provide feedback or find a bug, simply open an issue in the github repository.

0
likes
100
pub points
0%
popularity

LBRY API binding for the Dart language. Use this library in order to make API calls to the lbry network as its running in the background.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

lex@damoti.com
grin@lbry.io
jack@lbry.io

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on lbry