Python Api Call With Parameters