You can get a slice of data from a Data Stream using http range requests.
The dollowing command line shows how to use curl for this purpose:
curl -k -u [user]:[password] https://[hostname]/erp5/data_stream_module/[id] -r [start]-[end]