REST API with Python: Create Channels

I’ve created HABApp which provides this functionality as an API which is exposed to the user.
It also has a powerful processor to automatically create items and link them to things.

If you don’t want to use it you can still look at the implementation (it’s python) and copy paste the code.