Add render_template method to Api

What it says on the box.