updated calls.py with functionality and documentation for search and advanced search methods