Licenses¶
-
class
koordinates.licenses.
LicenseManager
(client)¶ Bases:
koordinates.base.Manager
Accessor for querying licenses.
Access via the
licenses
property of akoordinates.client.Client
instance.-
get
(id, expand=[])¶ Fetches a Token determined by the value of id.
Parameters: id – ID for the new Token
object.
-
get_creative_commons
(slug, jurisdiction=None)¶ Returns the Creative Commons license for the given attributes.
Parameters: - slug (str) – the type of Creative Commons license. It must start with
cc-by
and can optionally containnc
(non-commercial),sa
(share-alike),nd
(no derivatives) terms, seperated by hyphens. Note that a CC license cannot be bothsa
andnd
- jurisdiction (str) – The jurisdiction for a ported Creative Commons
license (eg.
nz
), orNone
for unported/international licenses.
Return type: License
- slug (str) – the type of Creative Commons license. It must start with
-
list
()¶ Fetches a set of Tokens
-
model
¶ alias of
License
-