Countries

Retrieve list of countries

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

The Countries returns a list countries.

Example

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

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

Arguments

None

Response

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

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

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

str

country_code
Type:

str