Tide
Global tidal data for the next 10 days, including tide table and hourly tide forecast data.
| Interface code | Interface | Class |
|---|---|---|
| oceanTide | Tide data | OceanTideResponse |
Parameters
OceanParameter
-
location(required)The tide station to be queried, need LocationID and LocationID can be obtained by POI Lookup. For example:location=P2951 -
date(required)Set the date, up to 10 days in the future (including today). The date format is yyyyMMdd. Eexample:date=20200531
Sample code
public void oceanTide(OceanParameter parameter, Callback<OceanTideResponse> callback)
Response
OceanTideResponse
-
codeSee Status Code -
updateTimeAPI last update time -
fxLinkResponsive web page of this data, for embedded in website or APP -
tideTable.fxTimeHigh tide or Low tide time -
tideTable.heightThe height of the wave, in meters -
tideTable.typeHigh tide (H) or Low tide (L) -
tideHourly.fxTimeHourly forecast time -
tideHourly.heightThe height of the wave, in meters, maybe null for some POI -
refer.sourcesData source and other statements, may be null -
refer.licenseData license, may be null