VegeCloud Retrieve Api Documentation (VERSION 1 DEPRECATED)

Please note that Vegecloud is still under development. Changes to the API may occur without warning.

The access rate for this api is 2 request per IP address, for every 15 minute window. We limit the access rate to keep VegeCloud low cost for everyone.

Data retrieval is limited to the most recent 30 days.

URL:<RouteKey>/<ReadApiKey>/<Channel>?<optional request parameters>

Sign into your account to get the RouteKey for your account, and the ReadApiKey for your Hub.

Data Object format

The VegeCloud server will respond with the following JSON array if a channel number is specified:


If no channel is specified the data from all of the hub's channels are returned:

URL Parameters
Name Description Value Type
RouteKey (Required) This key is displayed in your account when you log in. <string>
ReadApiKey (Required) This key is essentially the password that allows you to read data from the sensors listed in your account. This value is listed in the Hub List section under "Read API Key". <string>
Channel Each sensor hub will have one or more sensor channel slots. This optional field starts at one (1 based) and is number of the hub slot which is reporting back data. If this parameter is empty all of the channels for the hub will be returned. <integer>
Optional Request Parameters
Name Description Value Type
start_date Get all data where the sample time is greater than or equal start_date. The start_date compare is inclusive. <date> (YYYY-MM-DD)
end_date Get all data where the sample time is less than end_date. The end_date compare is exclusive. <date> (YYYY-MM-DD)
order Order the data by sample time in ascending or descending order. <string> (asc, or desc)
limit The maximum number of samples that you want sent back. For example if this is set to 10 you, you will get 10 samples back, assuming 10 samples are available. <integer>
unix_timestamp The sample's timestamp is returned as a unix time integer. <true>




Copyright © 2024 Vegetronix, Inc. All rights Reservered.