oSoc18 / OASIS

The official repository for the OASIS team at Osoc18
https://accessflanders.be
5 stars 0 forks source link

Installed LDFetch #44 #46

Closed Bertware closed 6 years ago

Bertware commented 6 years ago

LDFetch was installed. After merging and updating local code, don't forget to run yarn install!

Example usage:

import * as ldfetch from "ldfetch";

var fetch = new ldfetch();
var main = async function () {
    var response = await fetch.get('https://graph.irail.be/sncb/connections/');
    console.log(response.triples);
}
try {
    main();
} catch (e) {
    console.error(e);
}