Metadata-Version: 2.1
Name: rslsync
Version: 0.1.2
Summary: A Python client of unofficial Resilio Sync API
Home-page: https://github.com/zhongkechen/python-resilio-sync-unofficial
License: MIT
Keywords: resilio,btsync,sync,unofficial
Author: Zhongke Chen
Author-email: github@ch3n2k.com
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Communications :: File Sharing
Project-URL: Documentation, https://github.com/zhongkechen/python-resilio-sync-unofficial
Project-URL: Repository, https://github.com/zhongkechen/python-resilio-sync-unofficial
Description-Content-Type: text/markdown

A Python client of unofficial Resilio Sync API.

## Usage

```

$ from rslsync import RslClient
$ c = RslClient("http://localhost:8888/", "user", "pass")
$ c.folder.list_shared_folders()  # list all shared folders
$ c.file.list_shared_files()  # list all shared files
$ share_id = c.file.share_file(path, days)   # share a single file
$ c.file.create_link(share_id)   # create a share link
$ c.file.unshare_file(share_id)   # unshare a file

```

