I'd be very interested in this; I've been looking for a Sonos API for a long time and could only find an old Perl script that doesn't seem to be maintained.
How do you plan on doing this?
Thanks!
This is a nice python library for controlling a Sonos speaker.