Last active
July 4, 2023 16:13
-
-
Save giselamo/bc70a89a410d2dbb6ee25c9bc28a0f9d to your computer and use it in GitHub Desktop.
EVENTS API: Get fishing events Trawler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request GET 'https://gateway.api.globalfishingwatch.org//v2/events?vessels=0107f3a1d-d8f5-38cc-1273-8e6e25959cf0&datasets=public-global-fishing-events:latest&start-date=2015-01-01&end-date=2023-03-01&limit=1&offset=0' \ | |
--header 'Authorization: Bearer [YOUR TOKEN]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"datasets": [ | |
"public-global-fishing-events:v20201001" | |
], | |
"vessels": [ | |
"0107f3a1d-d8f5-38cc-1273-8e6e25959cf0" | |
], | |
"dateRange": { | |
"from": "2015-01-01", | |
"to": "2023-03-01" | |
}, | |
"encounterTypes": [] | |
}, | |
"total": 2314, | |
"nextOffset": 1, | |
"offset": 0, | |
"limit": 1, | |
"entries": [ | |
{ | |
"id": "3cce29ad5a6768804bb8476ce995c777", | |
"type": "fishing", | |
"start": "2015-02-16T19:45:42.000Z", | |
"end": "2015-02-16T21:28:02.000Z", | |
"position": { | |
"lat": -44.3147, | |
"lon": -59.3217 | |
}, | |
"regions": { | |
"mpa": [], | |
"eez": [], | |
"rfmo": [ | |
"ICCAT", | |
"CCSBT", | |
"ACAP", | |
"IWC" | |
], | |
"fao": [ | |
"41.3", | |
"41.3.1", | |
"41" | |
], | |
"major_fao": [ | |
"41" | |
], | |
"eez12nm": [], | |
"high_seas": [ | |
"63203" | |
], | |
"mpa_no_take_partial": [], | |
"mpa_no_take": [] | |
}, | |
"boundingBox": [ | |
-59.4688516667, | |
-44.4298616667, | |
-59.2089066667, | |
-44.2180283333 | |
], | |
"distances": { | |
"startDistanceFromShoreKm": 384, | |
"endDistanceFromShoreKm": 393, | |
"startDistanceFromPortKm": 463.991531, | |
"endDistanceFromPortKm": 479.627844 | |
}, | |
"vessel": { | |
"id": "0107f3a1d-d8f5-38cc-1273-8e6e25959cf0", | |
"flag": "ESP", | |
"name": "LOITADOR", | |
"type": "fishing", | |
"ssvid": "224506000" | |
}, | |
"fishing": { | |
"totalDistanceKm": 63.04251090966399, | |
"averageSpeedKnots": 9.9374998808125, | |
"averageDurationHours": 0.24365079365079362 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment