Skip to content

Custom ingestion source for Datahub to consume from https://data.justice.gov.uk/api • This repository is defined and managed in Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/datahub-custom-api-source

Repository files navigation

Datahub custom API source

repo standards badge

This repository integrates the Justice Data API with Datahub.

Prerequisites

Set up the Datahub CLI

Usage

This ingestion currently needs to be run via the Datahub CLI.

First run poetry shell to make sure this library is on the python path.

Then create recipe.yaml:

source:
  type: datahub_custom_api_source.source.JusticeDataAPISource
  config:
    base_url: "https://data.justice.gov.uk/api"

Finally, run datahub ingest -c recipe.yaml

See https://datahubproject.io/docs/how/add-custom-ingestion-source/ for more information.

About

Custom ingestion source for Datahub to consume from https://data.justice.gov.uk/api • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages