Custom Connector

Istanbul Metropolitan Municipality Connector

Turkey

The Istanbul Metropolitan Municipality Connector integrates with the IMM Open Data Portal API (CKAN v3), enabling access to municipal datasets — transportation, urban planning, and public services. It supports dataset searches, metadata retrieval, and resource access in JSON, with optional API-key authentication for restricted datasets.

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

Istanbul Metropolitan Municipality Connector Overview

This document provides a detailed guide for each integration point, its purpose, configuration, and workflow support using the Istanbul Metropolitan Municipality Connector.

  • packageSearch. Search for datasets using filters and queries.
  • packageShow. Retrieve details for a specific dataset.
  • packageList. List all dataset names or IDs.
  • resourceShow. Retrieve details for a specific resource.
  • groupList / groupShow. List all groups, or retrieve a specific group.
  • organizationList / organizationShow. List all organizations, or retrieve a specific one.
  • tagList. List all tags.
  • userList. List all users.
  • licenseList. List available licenses.
Documentation

Detailed Integration Documentation

Package Search

ActionpackageSearch
PurposeSearches for datasets (packages) using query, facets, or sorting — discovering datasets such as traffic or public-services data.
ConfigurationConfigure the base URL via CONNECTOR_ENV_ISTANBULOPENDATAPORTALAPI_BASE_URL. Optionally provide an API key (Authorization header) for restricted datasets.
ParametersOptional:
q (search query); fq (filter query); sort (e.g. score desc, name asc); rows (default 10); start (default 0); facet (boolean); facet.mincount; facet.limit.
OutputSuccessful: JSON with success, result (count, sort, results array of package objects, facets), and help. Failure: success:false with error type and message.
Workflow exampleExecute packageSearch with q=traffic and rows=10 to list datasets for urban-mobility applications.

Package Show / List

ActionpackageShow / packageList
PurposeRetrieves detailed information for a specific dataset (resources, tags, metadata), or lists all dataset names/IDs for a quick catalog overview.
ConfigurationConfigure the base URL via CONNECTOR_ENV_ISTANBULOPENDATAPORTALAPI_BASE_URL. Optionally provide an API key (Authorization header) for restricted datasets.
ParameterspackageShow required:
id (dataset ID or name); optional use_default_schema, include_tracking. packageList optional:
limit; offset.
OutputSuccessful: JSON with success, result (a package object with resources/tags/extras, or an array of dataset IDs/names), and help. Failure: 404 Dataset not found.
Workflow exampleExecute packageShow with id=traffic-flow-dataset to review resources, or packageList with limit=20 for catalog exploration.

Resource Show

ActionresourceShow
PurposeRetrieves details for a specific resource within a dataset — URL, format, and size — enabling direct data access.
ConfigurationConfigure the base URL via CONNECTOR_ENV_ISTANBULOPENDATAPORTALAPI_BASE_URL. Optionally provide an API key (Authorization header) for restricted datasets.
ParametersRequired:
id (resource ID). Optional:
include_tracking.
OutputSuccessful: JSON with success, result (id, url, format, description, size, created, last_modified), and help. Failure: 404 Resource not found.
Workflow exampleExecute resourceShow with id=resource-id to retrieve a resource URL for data download.

Groups (list / show)

ActiongroupList / groupShow
PurposeLists all groups (optionally with details) for thematic organization, or retrieves a specific group including its datasets.
ConfigurationConfigure the base URL via CONNECTOR_ENV_ISTANBULOPENDATAPORTALAPI_BASE_URL. Optionally provide an API key (Authorization header) for restricted datasets.
ParametersgroupList optional:
order_by; sort; limit; offset; groups; all_fields. groupShow required:
id; optional include_datasets, include_dataset_count, include_extras, include_users, include_groups, include_followers.
OutputSuccessful: JSON with success, result (group names or objects with id, name, title, description, datasets), and help. Failure: 404 Group not found.
Workflow exampleExecute groupList with all_fields=true, then groupShow with id=transportation and include_datasets=true for thematic exploration.

Organizations (list / show)

ActionorganizationList / organizationShow
PurposeLists all organizations (municipal departments / data providers), or retrieves a specific one including its datasets.
ConfigurationConfigure the base URL via CONNECTOR_ENV_ISTANBULOPENDATAPORTALAPI_BASE_URL. Optionally provide an API key (Authorization header) for restricted datasets.
ParametersorganizationList optional:
order_by; sort; limit; offset; organizations; all_fields. organizationShow required:
id; optional include_datasets, include_dataset_count, include_extras, include_users, include_groups, include_followers.
OutputSuccessful: JSON with success, result (organization names or objects with id, name, title, description, package_count, datasets), and help. Failure: 404 Organization not found.
Workflow exampleExecute organizationList with all_fields=true, then organizationShow with id=municipal-services and include_datasets=true to source department data.

Tags, Users & Licenses

ActiontagList / userList / licenseList
PurposeLists all tags (keyword-based discovery), all users (administration/community), and available licenses (compliance).
ConfigurationConfigure the base URL via CONNECTOR_ENV_ISTANBULOPENDATAPORTALAPI_BASE_URL. Optionally provide an API key (Authorization header) for restricted datasets.
ParameterstagList optional:
vocabulary_id; all_fields. userList optional:
q; order_by; all_fields. licenseList: none.
OutputSuccessful: JSON with success, result (tag names/objects; user names/objects; license objects with id, title, url), and help. Failure: error details.
Workflow exampleExecute tagList with all_fields=true to filter datasets by topic, and licenseList to confirm legal data usage.

Example Workflow: Urban Mobility Dashboard

Search datasetsUse packageSearch with q=transport and identify a target dataset ID (e.g. traffic-flow-dataset).
Retrieve metadata & resourcesUse packageShow to review resources, then resourceShow to access specific data URLs.
Analyze group & org dataUse groupShow with id=transportation and organizationShow to explore related datasets and providers.
Build dashboardIntegrate the data into a GCP-hosted dashboard for real-time traffic insights.
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