39 lines
759 B
JavaScript
39 lines
759 B
JavaScript
|
/**
|
||
|
* Created by WebStorm.
|
||
|
* User: martin
|
||
|
* Date: 07/07/2020
|
||
|
* Time: 16:40
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Look here https://admiraltyapi.portal.azure-api.net/docs/services/uk-tidal-api/operations/TidalEvents_GetTidalEvents?
|
||
|
|
||
|
it's an api
|
||
|
|
||
|
reduce admiralitySites.json to something better for quick searching against lat long.
|
||
|
|
||
|
helensburgh 0403
|
||
|
|
||
|
|
||
|
Primary key
|
||
|
b49297c9dacc4c6e92026d0dbec82948
|
||
|
|
||
|
Secondary key
|
||
|
d51efd816c2446b29e8be0f019c06f9c
|
||
|
|
||
|
|
||
|
https://admiraltyapi.azure-api.net/uktidalapi/api/V1/Stations/{stationId}/TidalEvents[?duration]
|
||
|
|
||
|
HTTP request
|
||
|
============
|
||
|
|
||
|
GET https://admiraltyapi.azure-api.net/uktidalapi/api/V1/Stations/0403/TidalEvents?duration=3 HTTP/1.1
|
||
|
Host: admiraltyapi.azure-api.net
|
||
|
Ocp-Apim-Subscription-Key: b49297c9dacc4c6e92026d0dbec82948
|
||
|
|
||
|
|
||
|
|
||
|
*/
|