Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install LDFetch #44

Closed
Bertware opened this issue Jul 11, 2018 · 1 comment
Closed

Install LDFetch #44

Bertware opened this issue Jul 11, 2018 · 1 comment
Assignees
Milestone

Comments

@Bertware
Copy link
Collaborator

Install LDFetch to unblock #19

@Bertware Bertware added this to the Sprint 2 milestone Jul 11, 2018
@Bertware Bertware self-assigned this Jul 11, 2018
Bertware added a commit that referenced this issue Jul 11, 2018
@Bertware
Copy link
Collaborator Author

Example usage, tested and working in index.js


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);
}

DendauwBrian added a commit that referenced this issue Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant