ACV Auctions interview question

Live coding, build a function to find the highest rated restaurant based on input parameters using web API.