Javascript
import PiClient from 'withpi'; const client = new PiClient({ apiKey: 'My API Key', }); const response = await client.data.generate.streamData('job_id'); console.log(response);
"<string>"
Streams data from the Generation Data job
Streaming data from the job
The response is of type string.
string