Related to the License API

class koordinates.licenses.LicenseManager(client)

Bases: koordinates.base.Manager

Accessor for querying licenses.

Access via the licenses property of a koordinates.client.Client instance.

expand(*args, **kwargs)

Returns an expanded Query view of the model objects. Equivalent to calling .list().expand(). Using expansions may have significant performance implications for some API requests. See koordinates.base.Query.expand().

filter(*args, **kwargs)

Returns a filtered Query view of the model objects. Equivalent to calling .list().filter(...). See koordinates.base.Query.filter().

get(id, expand=[])

Fetches a Model instance determined by the value of id.


id – numeric ID for the Model.

get_creative_commons(slug, jurisdiction=None)

Returns the Creative Commons license for the given attributes.

  • slug (str) – the type of Creative Commons license. It must start with cc-by and can optionally contain nc (non-commercial), sa (share-alike), nd (no derivatives) terms, seperated by hyphens. Note that a CC license cannot be both sa and nd

  • jurisdiction (str) – The jurisdiction for a ported Creative Commons license (eg. nz), or None for unported/international licenses.

Return type



Fetches a set of model objects

Return type



alias of koordinates.licenses.License

order_by(*args, **kwargs)

Returns an ordered Query view of the model objects. Equivalent to calling .list().order_by(...). See koordinates.base.Query.order_by().

class koordinates.licenses.License(**kwargs)

Bases: koordinates.base.Model

Represents a license that can be applied to layers, tables, sources, and documents.


Refresh this model from the server.

Updates attributes with the server-defined values. This is useful where the Model instance came from a partial response (eg. a list query) and additional details are required.

Existing attribute values will be overwritten.