Searching in python/rest