Excel
Export container tracking data to CSV for seamless Excel and BI tool integration.
Tracking shipping containers manually or through web dashboards can be time-consuming and inflexible. This integration allows you to automate container tracking queries and export the results to a CSV file, which is compatible with:
- Excel
- Google Sheets
- Business Intelligence tools (Power BI, Tableau, etc.)
- Any data processing pipeline
This makes it easy to analyze, share, and visualize shipping data as part of your logistics workflow.
๐ฅ Download
Download the integration package:
The archive contains:
tracking_notebook.ipynbโ the Jupyter Notebook scriptshipment.csvโ a sample input filedata.csvโ a sample output fileREADME.mdโ this documentation
You can run the notebook in Visual Studio Code or launch it online using Jupyter Lab.
๐ ๏ธ What It Does
-
Reads
shipment.csvto find the shipments and sealines to be tracked -
Queries the container tracking API
-
Generates
data.csvwith all container events:- Location
- Vessel
- Event description
- Event code
- Status
One row per container โ if your shipment has multiple containers, each will have its own line.
๐ Before You Start
Make sure to enter your API key at the top of the notebook:
API_KEY = "your-api-key-here"Without this, the script wonโt be able to access the tracking API.
๐งฉ Easy to Customize
The notebook is written in Python and fully annotated for clarity. Itโs easy to modify for advanced use cases.
Updated 7 months ago
