Command Line Interface

Is there a CLI (or API) to control mp3tag externally? I have a music database which holds all my edited attributes and I want to push these to the id3 tags for all the mp3, ape & flac files. If not can I generate a script to control mp3tag in some way?

Apply Actions from Command Line