Skip to content

bigoulours/slskd-python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.