John Hancock interview question

How would you start developing an API?