Zones

Retrieve list of tonnage zones

class oceanbolt.sdk.data.entities.Zones(client: APIClient)[source]

The Zones returns a list zones.

get()[source]

Retrieves list of zones as a pandas.DataFrame

Example

from oceanbolt.sdk.client import APIClient
from oceanbolt.sdk.data.entities import Zones

base_client = APIClient("<token>")
df = Zones(base_client).get()

Arguments

None

Response

class oceanbolt.com.entities_v3.types.ListTonnageZonesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]
zones
Type:

MutableSequence[oceanbolt.com.entities_v3.types.Zone]

class oceanbolt.com.entities_v3.types.Zone(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

ListZones

zone_id
Type:

int

zone_name
Type:

str