Skip to content
Municipal Museum in Jastrzębie-ZdrójCity of Jastrzębie-Zdrój
BIP

Open data

About open data

How to use the data of the City Museum in Jastrzębie-Zdrój: licence, file formats, API and the catalogue for dane.gov.pl.

What is the museum open data

Open data is public information published in machine-readable formats that anyone can download and reuse - also for commercial purposes. We publish it in line with the Polish Act of 11 August 2021 on open data and the re-use of public sector information.

Every dataset has a description (metadata): title, description, category, publisher, licence, update frequency, creation and modification dates, and spatial and temporal coverage.

Licence and terms of use

Unless stated otherwise in the dataset description, the data is published under the Creative Commons Attribution 4.0 licence (CC BY 4.0). You may copy, distribute, transform and combine it with other data. CC BY 4.0 licence text (opens in a new tab)

The only condition is to credit the source, e.g.:

Data source: City Museum in Jastrzębie-Zdrój (Muzeum Miejskie w Jastrzębiu-Zdroju), licence CC BY 4.0

Data formats

  • CSV - text table (UTF-8 encoding, comma separator) that opens in a spreadsheet.
  • JSON - data with field descriptions and dataset metadata, convenient for developers.
  • XLSX - spreadsheet with a data sheet and a metadata sheet.
  • GeoJSON - spatial data (points in WGS84 coordinates) for datasets with locations, for GIS systems and maps.

Files of datasets built from website data are generated at download time, so they always contain the latest version. Other datasets are published by the museum as ready files, updated at the same address.

How to use the API

The API works without signing in and without a key. Responses are also available from other domains (CORS header). The dataset identifier ({slug}) is in the metadata and in the dataset page address.

Public open data API addresses
MethodAddressDescription
GET/api/opendata/datasets?languageCode=enList of datasets with metadata. Optional filters: q (phrase), category (category code), format.
GET/api/opendata/datasets/{slug}Metadata of one dataset with column descriptions.
GET/api/opendata/datasets/{slug}/data.csvDataset data as CSV.
GET/api/opendata/datasets/{slug}/data.jsonDataset data as JSON.
GET/api/opendata/datasets/{slug}/data.xlsxDataset data as XLSX.
GET/api/opendata/datasets/{slug}/data.geojsonSpatial dataset data as GeoJSON.
GET/api/opendata/catalog.rdfCatalogue of all datasets in DCAT-AP-PL (RDF/XML).
GET/api/opendata/catalog.jsonldCatalogue of all datasets in DCAT-AP-PL (JSON-LD).
GET/POST/api/opendata/sparql?query=…Harvester endpoint: a CONSTRUCT or DESCRIBE query returns the whole catalogue as RDF/XML.

Example - downloading museum locations as GeoJSON:

curl -L "https://muzeumjastrzebie.pl/api/opendata/datasets/lokalizacje/data.geojson" -o lokalizacje.geojson

The languageCode parameter (pl or en) selects the metadata language. Responses may be cached for up to 5 minutes.

DCAT-AP-PL catalogue and dane.gov.pl

Metadata of all published datasets is available in the DCAT-AP-PL standard at permanent addresses:

Addresses and dataset identifiers are permanent, so the dane.gov.pl portal can regularly harvest the museum metadata.

Data scope

The datasets contain only information published on the museum website. We do not publish personal data - e.g. names of workshop leaders, event registrations or newsletter subscribers.

Contact

Questions about the data, error reports and suggestions for new datasets can be sent to: info@muzeum.jastrzebie.pl

Back to the data catalogue