Building A Python Api Call