Integrated the APIs
Merged search.php