Wordpress Install with new Virtual Server Creation & API

Hello,

I am trying to automate the Wordpress install whenever I create a new virtual server.

Is there anybody who can help me or guide me?

Also,

I am curious to know if any RESTful API which can call Install Now under Install scripts.

Any help will be appreciated.

Thanks,
Ahmed