HTML Form

Link

dataAPI

http://fdnw.dyndns.org/datawise/dataAPISQL/howto.php
Query method Parameters
  1. Choose format type
  2. Date Range - Number of days back (integer) or timeframe (yyyy-mm-dd hh:mm:ss) to gather data
  3. Select Category Type or Sensor ID
  4. Click Submit to get data

Direct URL

Link

/dataAPI/catdata.php?format=___&bytype___&cid=___&days=___

Examples
  • /dataAPI/retrievedata.php?format=cvs&bytype=category&cid=1&bydate=back&days=31
  • /dataAPI/retrievedata.php?format=xml&bytype=sensor&sid=100&bydate=back&days=3
  • /dataAPI/retrievedata.php?format=json&bytype=sensor&sid=100&bydate=range&tstart=2016-01-28 20:01:00&tend=2016-05-30 20:01:00
Description
parameter type default description
format string tsv Specify the output format.
  • format=tsv
  • format=csv
  • format=xml
  • format=html
  • format=json
bydate string back Choose a way to limit the data by date
  • bydate=back

    Number of days back to gather data. Need to set accompanying 'days=' param

  • bydate=range

    Limit data between two dates. Need to set the start/end dates with 'tstart=' & 'tend=' params

  • days
integer 1 Limit number of days to include before the current time. Needed with param bydate=back
  • tstart
  • tend
date-time null Limit to data on or after the specified start time and on or before the specified end time. Needed with parpm bydate=range.

tstart=yyyy-mm-dd hh:mm:ss&tend=yyyy-mm-dd hh:mm:ss

bytype string null Select the how to identify records. The allowed values are:
  • bytype=category

    Use the category ID to get data over multiple sensors. Set with 'cid=' param.

  • bytype=sensor

    Use to select a single sensor. Set with 'sid=' param.

  • cid
integer null Select the specific category ID. Needs 'bytype=category' param
  • sid
integer null Select the specific sensor ID to collect data. Needs 'bytype=sensor'.

List of Categories

Tide
Sensor ID Sensor Name Latitude Longitude SensorType
1005North Wildwood Tide39.007468-74.798741
Air Temperature
Sensor ID Sensor Name Latitude Longitude SensorType
1004North Wildwood Air Temp39.0055-74.7959
Precip
Sensor ID Sensor Name Latitude Longitude SensorType
1001North Wildwood Precip39.01-74.7984552
Wind Speed
Sensor ID Sensor Name Latitude Longitude SensorType
1002North Wildwood Wind Speed39.01-74.7957
Wind Direction
Sensor ID Sensor Name Latitude Longitude SensorType
1003North Wildwood Wind Direction39.007351-74.7958
Humidity
Sensor ID Sensor Name Latitude Longitude SensorType
1006North Wildwood Humidity39.0055-74.80255
Pressure
Sensor ID Sensor Name Latitude Longitude SensorType
1007North Wildwood Barometer39.007351-74.80256
Solar Radiation
Sensor ID Sensor Name Latitude Longitude SensorType
1008North Wildwood Solar39.01-74.802514
Battery
Sensor ID Sensor Name Latitude Longitude SensorType
1009North Wildwood Batttery39.0135-74.79845512
Wind Chill
Sensor ID Sensor Name Latitude Longitude SensorType
1010North Wildwood Wind Chill39.0055-74.79845518
11010North Wildwood Computed Wind Chill39.0055-74.79845518