Interact with Ducky Radio and control compatible providers via HTTP.Continue reading for an introduction to the Ducky Radio API
Authentication
There no authentication required. Ducky Radio is designed to run and be accessed locally.
Although no tokens or API keys are required, allPOST endpoints require a specific header to be set to an arbitrary value, outlined in the documentation for each endpoint.
Connection Info
Ducky Radio runs on port 1234 by default
Once running, the API can be accessed at http://localhost:1234/api
Sending your First Request
Once Ducky Radio is running, you can test the API’s functionality with a simple GET request.
Play Music
Play a song using the connected provider of your choice. If you can view the ducky radio logs, wait for the
newTrack event to be fired before continuing.😎 Observe
You should receive a JSON response. It will either be a Track object, or an object with an
error string.See Endpoint Documentation
