API¶
MPD-Box has two distinct API to use. First one is from MPD, other one is running on Pyramid and designed to manage tags.
Cheatsheet¶
MPD¶
MPD provide an API to control most feature. You can find Client Libraries readdy to use and implement on your project.
MPD-Box use python-mpd2.
MPD-Box API¶
MPD-Box has a RESTFull API to control tags.
Method | URI | Description |
---|---|---|
GET | /current-id | Return current tag-id read by mpd-box |
Tags | ||
POST | /tag/(tag_id) | Create a tag |
GET | /tag/(tag_id) | Retrieve an existing tag |