GET History data
Kristofer avatar
Written by Kristofer
Updated over a week ago

The GET History data function is used to get the historical values of a variable/pin. You can see all the available pins if you go to the "Pins" menu bellow.

Note: GET History is currently only available for PLAATO Airlock

Function

GET http://plaato.blynk.cc/auth_token/data/pin

Parameters

Parameter

Description

Type

Example value

auth_token

Authentification token

String

4ae3851817194e2596cf1b7103603ef8

pin

The pin you want to read. See the "Pins" menu.

String

v102

Response

Response

Headers

Body

Example

200

Content-Type:application/x-gzip

useremail_1_9536_pin_timestamp.csv.gz

user@plaato.io_1_9536_v102_1544175728855.csv

File

The file you receive is a .csv file that is compressed as a gzip file. The files contains the data from the pin you requested and a timestamp, in milliseconds since epoch.

Pins available for this function

Pin

Name

Description

Value type

Example Value

v102

bpm

Bubbles per minute

Number

42

v103

temperature

Ambient temperature

Sting

"22.144149780273438"

v106

specific gravity

Estimated specific gravity of batch. In oechsle [g/cm3]

String

"1.0199115"

Did this answer your question?