making api access more standard for fetching place id