This project retrieves historical vessel positions from the Vessel Tracking API and visualizes the route as a static map and animated GIF.
- Python 3.10 or later
- Visual Studio Code with the Jupyter extension
- A Vessel Tracking API key
Install the required packages:
py -m pip install --upgrade pip
py -m pip install -r requirements.txtCreate a config.ini file in the same directory as the notebook:
[vessel_tracking]
api_key = apikey-v1 YOUR_API_KEYDo not commit this file. Add it to .gitignore:
config.ini
.venv/
*.gifOpen vessel-position-visualization.ipynb and run its cells in order.
The notebook will:
- Retrieve historical vessel positions.
- Clean and order the returned data.
- Plot the route on a map.
- Create and save an animated GIF.