vessel.ship_name.value does not seem to work.
stephansemerad opened this issue · comments
Stephan commented
Tried to pull following vessel, I get Lat, Long, Status and mmsi value fine, but not anything else.
api = MarineTrafficApi(api_key=api_key)
vessel = api.single_vessel_positions(time_span=20,mmsi=310593000)
vessel = vessel.models[0]
vessel.mmsi.value
vessel.longitude.value
vessel.latitude.value
vessel.status.value
vessel.ship_name.value
vessel.ship_type.value
vessel.call_sign.value
vessel.current_port.value
Stephan commented
Nevermind. I see you have to put the msg_type = 'extended',