pengerno / penger-export

Exported and public data models from Penger.no

GitHub

Penger Export Latest version Build Status

Purpose

To provide a versioned and described data format for exchanging data with external entities. Since Avro is used at FINN for data exchange, it seems as a good fit for describing our externally delivered data.

Features

Billån

Boliglån

Currently work-in-progress data model for Boliglån

Utleieforsikring

Consuming data

For the API integration a multipart POST is issued to the configured endpoint, on the format:

POST /some-url
Content-Type: multipart/form-data; boundary=------------------------d74496d66958873e
--------------------------d74496d66958873e
Content-Disposition: form-data; name="body.json"
Content-Type: application/json

{.. json content ..}
--------------------------d74496d66958873e
Content-Disposition: form-data; name="files"; filename="attachment-name.pdf"
Content-Transfer-Encoding: binary

.. data ..
--------------------------d74496d66958873e--

If request is successfully consumed, respond with 200 OK.

TODO:

  • Bindings: Avro provides bindings for multiple languages. We could therefore aim to provide an integration library for the commonly most used languages at our providers.