Importing multiple TMs into GroupShare

We're moving from a semi-manual process to implementing GroupShare quite heavily in our workflow.

We currently have a lot of TMs (over 1700) which we need to get into GroupShare.

I've imported one TM by creating it manually, exporting a .tmx from an .sdltm file, and then importing this .tmx into the GroupShare TM. But this is impractical, to say the least, for the number of TMs we have.

Does GroupShare's API offer a means of automating this process, or is there any other way we can import a large number of TMs?