API Documentation#

Client

The main class for interacting with the services is Client. From it you can request information from Datasets and generate the rest of the objects of the package.

Client([key, env_name, base_url, ...])

Client to interact with dratio.io API

Base classes

All the elements of the database are represented as a class, to allow access to the information in a transparent way.

Dataset(client, code[, version])

Representation of a dataset in the database.

Feature(code, client, **kwargs)

Feature of a dataset in the database

Version(code, client, **kwargs)

Version of a dataset in the database

File(code, client, **kwargs)

File of a dataset in the database

Exceptions

All exceptions raised by interacting with the services are subclasses of DratioException.

DratioException

Base class for all dratio exceptions.

ObjectNotFound(name[, code])

Object does not exists or does not have visibility permissions.