import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const file of client.beta.files.list()) {
console.log(file.id);
}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const file of client.beta.files.list()) {
console.log(file.id);
}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const file of client.beta.files.list()) {
console.log(file.id);
}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const file of client.beta.files.list()) {
console.log(file.id);
}