Custom Connector

Open Data Paris Connector

France

The Open Data Paris Connector facilitates seamless integration with the OpenDataParis API, providing access to catalog datasets, records, and exports. It acts as a proxy for querying catalogs, datasets, and records, and exporting data in multiple formats, with JSON responses.

Type
Virtual machines, Single VM, BYOL
Runs on
Google Compute Engine
Last update
24 Oct 2024
Category
Integration
Overview

Integration Overview

This document provides a detailed guide for each integration point, its purpose, configuration, and workflow support using the Open Data Paris Connector.

  • getDatasets. Query catalog datasets.
  • listExportFormats. List export formats for the catalog.
  • exportDatasets. Export a catalog in the desired format.
  • exportCatalogCSV. Export a catalog in CSV.
  • exportCatalogDCAT. Export a catalog in RDF/XML (DCAT).
  • getDatasetsFacets. List facet values for datasets.
  • getRecords. Query dataset records.
  • listDatasetExportFormats. List export formats for a specific dataset.
  • exportRecords. Export a dataset in the desired format.
  • exportRecordsCSV. Export a dataset in CSV.
  • exportRecordsParquet. Export a dataset in Parquet.
  • exportRecordsGPX. Export a dataset in GPX.
  • getDataset. Show dataset information.
Documentation

Detailed Integration Documentation

Get Datasets

ActiongetDatasets
PurposeRetrieves available datasets from the catalog, optionally filtered and sorted. The primary entry point for dataset information.
ParametersOptional:
select, where (ODSQL), order_by, limit (default 10, max 100), offset, refine, exclude, lang, timezone, group_by, include_links, include_app_metas, key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: JSON with links and a datasets array (metas, fields). Failure: error (ODSQLError).
Workflow exampleExecute getDatasets with where=“records_count > 1000” and limit=20, then list available datasets.

List Export Formats

ActionlistExportFormats
PurposeLists available export formats for the catalog.
ParametersOptional:
key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: JSON with links (export format links). Failure: error (ODSQLError).
Workflow exampleExecute listExportFormats, then use the formats for subsequent export actions.

Export Datasets

ActionexportDatasets
PurposeExports a catalog in the desired format, optionally filtered.
ParametersRequired:
format (csv, json). Optional:
select, where, order_by, group_by, limit, offset, refine, exclude, lang, timezone, key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportDatasets with format=json, then save the file for reporting or integration.

Export Catalog CSV

ActionexportCatalogCSV
PurposeExports a catalog in CSV format, with delimiter and quoting options.
ParametersOptional:
delimiter (default ;), list_separator, quote_all, with_bom (default true), key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportCatalogCSV with delimiter=, then import into spreadsheet applications.

Export Catalog DCAT

ActionexportCatalogDCAT
PurposeExports a catalog in RDF/XML described with DCAT vocabulary.
ParametersRequired:
dcat_ap_format (e.g. -ap). Optional:
include_exports, use_labels_in_exports (default true), key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportCatalogDCAT with include_exports=csv,json, then use the metadata for catalog integration.

Get Datasets Facets

ActiongetDatasetsFacets
PurposeEnumerates facet values for datasets, optionally refined — for guided navigation.
ParametersOptional:
facet, refine, exclude, where, timezone, key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: JSON with links and a facets array. Failure: error (ODSQLError).
Workflow exampleExecute getDatasetsFacets with facet=publisher, then use the facets for refining searches.

Get Records

ActiongetRecords
PurposePerforms a query on dataset records, optionally filtered and sorted.
ParametersRequired:
dataset_id. Optional:
select, where (ODSQL), group_by, order_by, limit (default 10, max 100), offset, refine, exclude, lang, timezone, include_links, include_app_metas, key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: JSON with total_count and a results array. Failure: error (ODSQLError).
Workflow exampleExecute getRecords with dataset_id and where=“population > 1000000”, then display record data.

List Dataset Export Formats

ActionlistDatasetExportFormats
PurposeLists available export formats for a specific dataset.
ParametersRequired:
dataset_id. Optional:
key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: JSON with links. Failure: error (ODSQLError).
Workflow exampleExecute listDatasetExportFormats with dataset_id, then use the formats for dataset exports.

Export Records

ActionexportRecords
PurposeExports a dataset in the desired format, optionally filtered.
ParametersRequired:
dataset_id, format (csv, json). Optional:
select, where, order_by, group_by, limit, refine, exclude, lang, timezone, use_labels, compressed, epsg, key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportRecords with format=json and where filter, then save the file for processing.

Export Records CSV

ActionexportRecordsCSV
PurposeExports a dataset in CSV format, with delimiter and quoting options.
ParametersRequired:
dataset_id. Optional:
delimiter (default ;), list_separator, quote_all, with_bom (default true), key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportRecordsCSV with delimiter=, then import into analysis tools.

Export Records Parquet

ActionexportRecordsParquet
PurposeExports a dataset in Parquet format, with compression options.
ParametersRequired:
dataset_id. Optional:
parquet_compression (snappy, zstd; default snappy), key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportRecordsParquet with parquet_compression=zstd, then use the data in big-data frameworks.

Export Records GPX

ActionexportRecordsGPX
PurposeExports a dataset in GPX format, with name and description field options.
ParametersRequired:
dataset_id. Optional:
name_field, description_field_list, use_extension (default true), key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: file. Failure: error (ODSQLError).
Workflow exampleExecute exportRecordsGPX with name_field=name, then use the data in mapping or navigation tools.

Get Dataset

ActiongetDataset
PurposeReturns information about a specific dataset, including metadata and endpoints.
ParametersRequired:
dataset_id. Optional:
select, lang, timezone, include_links, include_app_metas, key.
ConfigurationConfigure the base URL via CONNECTOR_ENV_OPENDATAPARIS_BASE_URL.
OutputSuccessful: JSON with dataset_id, metas, fields, features. Failure: error (ODSQLError).
Workflow exampleExecute getDataset with dataset_id, then use the metadata to configure data queries.

Example Workflow: Comprehensive Data Exploration

Retrieve datasetsUse getDatasets with refine=publisher:“Opendatasoft” to fetch available datasets.
Query dataset infoExecute getDataset with dataset_id to understand fields and features.
Fetch recordsUse getRecords with a where filter to retrieve records for display.
Export dataUse exportRecords with format=csv to export data into analysis or archiving applications.
Support

For technical support, contact custom-connectors-support@isolutions.sa.

free consultation

Schedule a Free Consultation With Our Specialists

Book a free demo
request

Begin Your Adventure With Experienced Professionals

Send request
help desk

Do You Have Questions or Want More Information? Call Now.

Contact support