Public
Edited
Jan 27
Importers
2 stars
Insert cell
Insert cell
Insert cell
listFiles = async (query) => {
try {
const response = await client.drive.files.list(query);
return response.result.files;
} catch (error) {
console.error(error.result.error);
return new Error(error.result.error.message);
}
}
Insert cell
Insert cell
// gapi = new Promise((resolve, reject) => {})
Insert cell
client = {
await gapi.client.load(
"https://www.googleapis.com/discovery/v1/apis/drive/v3/rest"
);
return gapi.client;
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more