API Request

Hi @leolabs.

Are there any plans to create an api into ableset? I’m currently building a small application that takes a setlist created on BandHelper and converts it to a Json readable by ableset. To do that I have to download the Json containing all of the songs and create a new file with the songs and sequence I want, but would nice if I could somehow access an api on the local server and get access to all available songs.
Let me know what you think about this.

Kind regards.

Hey @lamuniercosta,

AbleSet already has an HTTP API that you can use, though it’s not documented at the moment. If you’d like to find out more about how it works, you can open the network inspector on AbleSet’s web app and check which requests it makes to the API.

To get a list of all songs, for example, you can query, or if you’re using the AbleSet 2.3.0 beta. This returns a list of all songs and sections in your Live session along with some other useful information.

I hope this helps!