API & URL parameters

Parameters separated by &

  • filenameExtension=csv - to save as CSV, not passing the argument to generate a graph. If the parameter is not equal to “csv”, it is passed to the graph generation function. If this parameter is missing, the file name is the Public string of the dataset.
  • datasetPublic=PUB-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - public dataset string
  • csvFileName=my_filename with special characters URL encoded, see, e.g. here.
  • maxRecordsDownloads=2880 - default maximum number of records for downloads is 2880, as it corresponds to days back when logging every 60 seconds, and
  • secondsBack=172800 - default downloading records only newer than two days (2 days x 24 hours x 3600 seconds per hour). It downloads a minimum of two.

Downloaded data are calculated towards the hourly limit.