Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 870 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 870 Bytes

slskd-api

Goal

This project provides a python API for slskd.

A comprehensive python API should help improve integration and increase slskd adoption by enabling rapid development of various software, such as:

Installation

The package is availaible on pypi:

pip install slskd-api

Usage

Create a slskd instance with the following:

import slskd_api
slskd = slskd_api.SlskdClient(host, api_key, url_base)

Then you'll be able to access all API methods:

app_status = slskd.application.state()
available_rooms = slskd.rooms.get_all()

See the doc for further details.