Change api.results = [] to api.result = None, just keep one result