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
- Host: GitHub
- URL: https://github.com/stadgent/node_service_eventstream-api
- Owner: StadGent
- License: other
- Created: 2021-04-29T08:43:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T07:48:55.000Z (over 1 year ago)
- Last Synced: 2025-03-18T08:37:20.329Z (over 1 year ago)
- Topics: coghent, d09check22, javascript, lod, nodejs, npm, web
- Language: JavaScript
- Homepage: https://apidg.gent.be/opendata/adlib2eventstream/v1/api-docs/
- Size: 5.29 MB
- Stars: 8
- Watchers: 5
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.