Last active
July 4, 2023 16:09
-
-
Save giselamo/cb929b52b7b09d698e4f072b18eff5ad to your computer and use it in GitHub Desktop.
EVENTS API: Get all events (POST) using region ID
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 POST 'https://gateway.api.globalfishingwatch.org//v2/events?offset=0&limit=1' \ | |
--header 'Authorization: Bearer [YOUR TOKEN]' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{ | |
"datasets": [ "public-global-encounters-events:latest"], | |
"startDate": "2017-01-01", | |
"endDate": "2017-03-31", | |
"region": { | |
"dataset": "public-eez-areas", | |
"id": 8371 | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment