call search

the code now calls the GET action of the API.  also, some of the syntax
needed cleaning, but that's done now.