The first version of the channel manager had all the code for importing and exporting channels intermingled with the web services the GUI would call.
For the latest version we shared in this wiki I factored all that code out into its own library, which can be found in iguana.channel. It cleanly separates the code which does the actual work from the web service bindings.
I’m quite happy with how it turned out. I think it’s relatively easy to understand how it works. It’s a useful building block in its own right now for any application where you want to move channels around.