Python Script To Call Rest Api