File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @l0uisgrange
Original file line number Diff line number Diff line change 44node_modules
55** /.DS_Store
66docs /build /*
7+ .zed
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " ./node_modules/oxlint/configuration_schema.json" ,
3+ "ignorePatterns" : [" test" ]
4+ }
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ console.log(vessel.name);
3030
3131The ` Espadon ` constructor supports the following options.
3232
33- | Option | Description | Default |
34- | :--------- | :------------------------------- | :----------------------------------- |
35- | ` key ` | Your API secret key | _ None_ (required) |
33+ | Option | Description | Default |
34+ | :--------- | :------------------------------- | :-------------------------------- |
35+ | ` key ` | Your API secret key | _ None_ (required) |
3636| ` baseUrl ` | The base endpoint URL | ` https://api.datalastic.com/api/ ` |
37- | ` version ` | The API version | ` v0 ` |
38- | ` validate ` | Validates JSON and coerces data | ` true ` |
39- | ` debug ` | Logs the URL before the request | ` false ` |
40- | ` timeout ` | Requests timeout in milliseconds | ` null ` |
37+ | ` version ` | The API version | ` v0 ` |
38+ | ` validate ` | Validates JSON and coerces data | ` true ` |
39+ | ` debug ` | Logs the URL before the request | ` false ` |
40+ | ` timeout ` | Requests timeout in milliseconds | ` null ` |
4141
4242## Endpoints
4343
@@ -54,10 +54,10 @@ let data = await esp.vessel('b8625b67-7142-cfd1-7b85-595cebfe4191');
5454let data = await esp .vesselPro ({ imo: 9525338 });
5555// Bulk with up to 100 vessels in a single call
5656let data = await esp .vesselBulk ([
57- { imo: 9525338 },
58- { imo: 9249403 },
59- { mmsi: 235362000 },
60- // ...
57+ { imo: 9525338 },
58+ { imo: 9249403 },
59+ { mmsi: 235362000 },
60+ // ...
6161]);
6262```
6363
You can’t perform that action at this time.
0 commit comments