Wix interview question

build a function in python which uses 2 API calls