vessel-api-python 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vessel_api_python/_constants.py +1 -1
- {vessel_api_python-2.0.0.dist-info → vessel_api_python-2.0.1.dist-info}/METADATA +4 -3
- {vessel_api_python-2.0.0.dist-info → vessel_api_python-2.0.1.dist-info}/RECORD +5 -5
- {vessel_api_python-2.0.0.dist-info → vessel_api_python-2.0.1.dist-info}/WHEEL +1 -1
- {vessel_api_python-2.0.0.dist-info → vessel_api_python-2.0.1.dist-info}/licenses/LICENSE +0 -0
vessel_api_python/_constants.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vessel-api-python
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python client for the Vessel Tracking API: maritime vessel tracking, port events, emissions, and nautical infrastructure.
|
|
5
5
|
Project-URL: Documentation, https://vesselapi.com/docs
|
|
6
6
|
Project-URL: Repository, https://github.com/vessel-api/vesselapi-python
|
|
@@ -131,11 +131,12 @@ print(f"{vessel.vessel.name} ({vessel.vessel.vessel_type})")
|
|
|
131
131
|
pos = client.vessels.position("232003239", filter_id_type="mmsi")
|
|
132
132
|
print(f"Position: {pos.vessel_position.latitude}, {pos.vessel_position.longitude}")
|
|
133
133
|
|
|
134
|
-
# filter_sat=True falls back to satellite AIS when
|
|
134
|
+
# filter_sat=True falls back to satellite AIS when no recent terrestrial position is stored.
|
|
135
135
|
# ⚠️ Satellite lookups draw on a prepaid balance and are charged per call.
|
|
136
136
|
# Omit it unless you need that fallback.
|
|
137
137
|
|
|
138
|
-
# Find
|
|
138
|
+
# Find vessels with an AIS position within 10 km of Rotterdam in the last 2 hours
|
|
139
|
+
# (the default time window, at most 4 hours).
|
|
139
140
|
nearby = client.location.vessels_radius(latitude=51.9225, longitude=4.47917, radius=10000)
|
|
140
141
|
for v in nearby.vessels or []:
|
|
141
142
|
print(f"{v.vessel_name} at {v.latitude}, {v.longitude}")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
vessel_api_python/__init__.py,sha256=-c0Rq1t5pDN4OY1w_9uNNeHjUI__kovOiyWvvU319jo,3114
|
|
2
2
|
vessel_api_python/_client.py,sha256=L7qkzUiATDpPlxWViEKicNpNx7D90gCohas56uCimgA,4919
|
|
3
|
-
vessel_api_python/_constants.py,sha256=
|
|
3
|
+
vessel_api_python/_constants.py,sha256=BLbDdSkVaGVmYuyp3grx7XSw-NczIZ5Js8Hjq_m3lZg,244
|
|
4
4
|
vessel_api_python/_errors.py,sha256=DaiyCjYKJZTo6-6sOqAcJBdOeFaIYgWHE48nsHWGeGA,6414
|
|
5
5
|
vessel_api_python/_iterator.py,sha256=SkgsGSdxLrKtw-ad8fSUPaEDDJCamAKK0PrG_P8HX-4,3198
|
|
6
6
|
vessel_api_python/_models.py,sha256=rJnRaZZ9y-h3xYbn0e-7nRLm6Sr9bSkigLIC6jY_HW0,19739
|
|
7
7
|
vessel_api_python/_services.py,sha256=8f6yxKHvzDuIbrQCpN01wT_g4OsByWGHOIhKgDGeaQg,108285
|
|
8
8
|
vessel_api_python/_transport.py,sha256=pfRaJwkq_GYpA5Ev8wH7tBdlzN2ykgy29Ag1L3F5K4Y,6956
|
|
9
9
|
vessel_api_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
vessel_api_python-2.0.
|
|
11
|
-
vessel_api_python-2.0.
|
|
12
|
-
vessel_api_python-2.0.
|
|
13
|
-
vessel_api_python-2.0.
|
|
10
|
+
vessel_api_python-2.0.1.dist-info/METADATA,sha256=4nMuQEUIeVNjbFW9TNwNSKLEpIekmKsX_jZGRZaeWGQ,10153
|
|
11
|
+
vessel_api_python-2.0.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
12
|
+
vessel_api_python-2.0.1.dist-info/licenses/LICENSE,sha256=zoj_abq99mj8cz-Bz71XCnwB-Qv3kU1VzVXeKEntuQU,1067
|
|
13
|
+
vessel_api_python-2.0.1.dist-info/RECORD,,
|
|
File without changes
|