Get Multiple Datastream Values
Get Multiple Datastream values
GET
https://{server_address}/external/api/get?token={token}&{pin}&{pinX}
In some cases it's important to get the datastream values with one call. This endpoint allows you to get the stored values of the multiple Datastreams. Returned type depends on the datastream type. Example:
https://blynk.cloud/external/api/get?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&v1&v2&v3&v4
Path Parameters
Name | Type | Description |
---|---|---|
pin | string | Virtual pin number (should start with "v") |
token | string | Device auth token |
You can get the Device auth token in Device info.
Get All Datastreams values
GET
https://{server_address}/external/api/getAll?token={token}
This endpoint allows you to get stored values of the all Datastreams by device token. The value(s) will be displayed in the response if the Datastream has a value.
Example:
https://blynk.cloud/external/api/getAll?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L
Path Parameters
Name | Type | Description |
---|---|---|
{server address}* | string | Get from the bottom right of your Blynk console. More information. |
Query Parameters
Name | Type | Description |
---|---|---|
token* | string | Device auth token from Device info |
Last updated