As a programmer I'd be happy with an API, so I can keep working in the environment I'm accustomed to. Programmers can get very picky when it comes to their ergonomics, so it would be wise to let them handle this part.
This, however, would be a significant obstacle to non-programmers. You might consider offering an in-game editor similar to Scratch or BYOB for people who want to dip into programming. It'd be a fun way for them to learn