import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.beta.files.content('file_id');
console.log(response);
const content = await response.blob();
console.log(content);
"<any>"
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.beta.files.content('file_id');
console.log(response);
const content = await response.blob();
console.log(content);
"<any>"
Successful Response
The response is of type any
.