Api Calls Using Python For Automation