Metadata-Version: 2.1
Name: lyberry-api
Version: 0.2.2
Summary: An easier way to interact with lbrynet using python
Home-page: https://git.tristans.cloud/tristan/lyberry_api
Author: MyBeansAreBaked
Author-email: tristan@tristans.cloud
License: GPLv3+
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests
Requires-Dist: toml
Requires-Dist: appdirs

# LyBerry Api

This is a python library that helps to interface with lbrynet in an simple way so that making LBRY clients is easy.

## Install

```sh
pip install lyberry-api
```

## Use

create a lbrynet connection

```py
import lyberry_api
lbry = lyberry_api.LBRY_Api()
```

get a channel

```py
channel = lbry.resolve('@mybeansarebaked')
```

get their latest publication

```py
pub = next(channel.pubs_feed)
```

get the latest comment

```py
comment = next(pub.comments_feed)
```

## License

Copyright (C) 2022 MyBeansAreBaked

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.


