Api class to make appropriate request based on parameters

Fields

api_type

character. The name of the api to call (see url_mapping)

export_format

character (default = "JSON"). The export's format Available are CSV, XLSX, SDMX-ML and JSON

parameters

character. Additional request parameters

id

character. The identifier or id of the request's object

language

character (default = "en"). Language of the response data. Available are 'fr', 'de', 'it', 'en'

version_format

numeric (default = 2.1). The export format's version (2.0 or 2.1 when format is SDMX-ML) (for 'codelist')

api_url

character. The url to make the request to.