SDMX-REST Service Clients

Note

Additional information about how to execute SDMX-REST queries against a specific service can be found in the following tutorial:

Build SDMX-REST queries.

class pysdmx.api.qb.ApiVersion(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

The version of the SDMX-REST API.

class pysdmx.api.qb.RestService(api_endpoint, api_version, data_format=DataFormat.SDMX_JSON_2_0_0, structure_format=StructureFormat.SDMX_JSON_2_0_0, schema_format=SchemaFormat.SDMX_JSON_2_0_0_STRUCTURE, refmeta_format=RefMetaFormat.SDMX_JSON_2_0_0, avail_format=AvailabilityFormat.SDMX_JSON_2_0_0, pem=None)

Connector to SDMX-REST services.

availability(query)

Execute an availability query against the service.

Return type:

bytes

data(query)

Execute a data query against the service.

Return type:

bytes

reference_metadata(query)

Execute a reference metadata query against the service.

Return type:

bytes

schema(query)

Execute a schema query against the service.

Return type:

bytes

structure(query)

Execute a structure query against the service.

Return type:

bytes