GitHub interview question

Implement a generic api using any language