A set of example HTTP requests for the Spire Sense APIs using the Postman API client. These include the following endpoints:
- Vessels
- Messages
- Predict AI
In order to utilize this repo you will need two things:
- A Spire API access token.
- Postman for Mac, Windows, or Chrome.
- Clone or download this repo to your local machine.
- Open Postman.
- In the top left corner click "Import".
- Drag or find both the
Spire_API.postman_collection.json
&Spire.postman_environment.json
files and click open.
- Both the collection and the environment variables will be imported to Postman.
- In the top right corner, click the gear icon and select "Manage Environments".
- Click "Spire".
- Locate the access token sent to you by the Spire Customer Experience team.
- Navigate back to Postman and replace
your-api-token
with your actual credentials.
- Click "Update" and close the window.
- Click the environment drop down again and select "Spire".
- You are now ready to start making API calls!
- Try querying all Spire vessels by clicking the 01_Vessels folder > "List All Vessels" > Send.
If you encounter any issues please email Spire Customer Experience. Please also feel free to improve upon the collection and submit pull requests. :-)