Software for querying the Saildrone API. Saildrone provides a Swagger interface for testing their API.
-
Install Node.js - download here
-
(OPTIONAL) Install Visual Studio Code - download here (We use and recommend this IDE for development)
-
Clone the repository:
git clone git@github.com:nwfsc-fram/SaildroneTS.git -
In a command window, navigate to the cloned folder and install the required node modules:
npm install -
Copy the
keys-sample.tsfile to akeys.tsfile and insert your key and secret values provided by Saildrone. -
Run the software:
ts-node -T ./dataPull.ts