Create api.php

SQL pull with 2 parameters to search