CURL example for retrieving historical data to csv

Based on this prior comment it seems that querying groups of devices might be considered in future.