I think JSON and XML are good message formats. If you want to get fancy present 
all the API calls with a RESTful HTTP interface.

If you want to keep it simple then maybe an HTTP interface, and all the API 
calls happen by hitting a URL with certain query string params.

Sent from my iPhone

On Jul 22, 2011, at 4:57 PM, "Francesco P. Sileno" <[email protected]> wrote:

> On 07/20/2011 06:10 PM, Romain Beauxis wrote:
> 
>>   What would be a nice protocol/API for machine-oriented
>> communications between liquidsoap and external applications?
> 
> I've found very quick to learn and easy to implement in all the 
> programming languages I use (PHP, Python, Perl, C) and the languages 
> used by people I wirk with (C#, C++, even Visual Basic), the XML-RPC 
> protocol:
> 
> http://en.wikipedia.org/wiki/XML-RPC
> 
> There is mentioned even a OCAML library:
> 
> http://code.google.com/p/xmlrpc-light/
> 
> Just my 2ยข. :)
> 
>    partecipatamente,
>    Francesco P.
> 
> -- 
> Francesco P. Sileno - OSCR S.r.l.
> <[email protected]> - http://www.oscr.it/
> Tel.    +39.06.91.65.03.683 (segreteria telefonica)
> Cell.    +39.340.53.42.374
> Fax    +39.06.62.20.13.51
> 
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to