API Files for Developers

hello everyone, i’m new to the forum. i saw this discussion and it seemed very interesting, so i ask you: is there a way to be notified by arylic of what happens, without me having to make requests continuously? let me explain… i would like to know when the song changes on arylic (i also ask if there is a way to also have the cover of the tracks). thanks to everyone

The TCP method should work in this way

ok thanks. is there any way to get the cover of the song via api?

This is available only on UPNP method. We don’t have time to document yet. You could refer to this file.

1 Like

Hello, I had a little trouble using this method, basically when I connect to my mini using HTTP request it doesn’t send me any response showing the status of the connection, and when I try to fetch the connection status it gives error as its has already changed to station mode. Now I can I hear the device and see whether the connection was successful or not but doing pragmatically is posing a challenge

1 Like

Yes, you can send “#CMD:STATUS” to ws://IP:8888 and you’ll get a JSON format response with cover art and other stuff

What is the API command line for play, stop, and shuffle? I have been using this for play http:///httpapi.asp?command=setplayercmd:play

GET /httpapi.asp?command=setPlayerCmd:pause
GET /httpapi.asp?command=setPlayerCmd:resume
GET /httpapi.asp?command=setPlayerCmd:onepause
GET /httpapi.asp?command=setPlayerCmd:stop
GET /httpapi.asp?command=setPlayerCmd:prev
GET /httpapi.asp?command=setPlayerCmd:next

take a look at

https://developer.arylic.com/httpapi/#http-api

Hey @zpl1025 , I had one question, when using upnp and hitting this action
“GetInfoEx”, we get lots of response of playback status.
What do the following tags mean?

<TimeStamp>4168173</TimeStamp>
</RelCount>2147483647</RelCount>

Thanks and Regards