Javascript. This works: var snapshot = db.collection(\'xyz\').doc("ABCD").get().then((snapshot) => {... the omitted code delivers the content of ABCD to the console