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:
- Desktop/Mobile Clients
- beets plugin(s)
- headphones integration
The package is availaible on pypi:
pip install slskd-api
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.