Javascript Api Testing Using Python