Added Search API

Hi I have added the Search API feature. Please accept the Pull Request.