An open API service indexing awesome lists of open source software.

https://github.com/stadgent/node_service_eventstream-api

Adlib2Eventstream API
https://github.com/stadgent/node_service_eventstream-api

coghent d09check22 javascript lod nodejs npm web

Last synced: about 1 year ago
JSON representation

Adlib2Eventstream API

Awesome Lists containing this project

README

          

# Linked Data EventStream API

## Linked Data Event Stream (LDES)

A Linked Data Event Stream is a collection of immutable objects (such as version objects, sensor observations or archived representation). Each object is described in RDF. The objective of a Linked Data Event Stream is to allow consumers to replicate all of its items and to stay in sync when items are added.

## Example usage

If you want to have a full-history replication of all expositions in the Design Museum Ghent, and keep it in sync, you can now run this bash command:
```
# Install yarn:
npm install --global yarn

# Install the ldes client:
yarn global add @treecg/actor-init-ldes-client

# Read the eventstream:
actor-init-ldes-client https://apidg.gent.be/opendata/adlib2eventstream/v1/dmg/tentoonstellingen
```

It will start spitting out JSON objects you can pipe to your own data store and keep it in sync with the original source.

## Documentation

### Adlib2Eventstream API

Further [documentation is available in Dutch](https://github.com/StadGent/node_service_eventstream-api/blob/main/LEESME.md).

### OpenAPI specification (OAS)

The OpenAPI specification for this API is available on https://apidg.gent.be/opendata/adlib2eventstream/v1/api-docs/.

### @treecg/actor-init-ldes-client

The [documentation of the ldes client (@treecg/actor-init-ldes-client)](https://github.com/TREEcg/event-stream-client/tree/main/packages/actor-init-ldes-client#treecgactor-init-ldes-client) is available on GitHub.