MaastrichtU-IDS / d2s-sparql-operations

✨️ Execute SPARQL queries from string, URL or multiple files using the RDF4J framework.
https://maastrichtu-ids.github.io/d2s-sparql-operations/
MIT License
1 stars 1 forks source link

Use GitHub API to process URLs #17

Open vemonet opened 5 years ago

vemonet commented 5 years ago

No need for authentication: https://api.github.com/repos/MaastrichtU-IDS/data2services-transform-repository/contents/sparql/insert-biolink/uniprot

curl -i "https://api.github.com/repos/MaastrichtU-IDS/data2services-transform-repository/contents/sparql/insert-biolink/uniprot"

curl -i "https://api.github.com/repos/:organization/:repo/contents/:path"

We could ask for:

Also possible on GitLab API? Looks a bit tricky with GitLab IDs: https://docs.gitlab.com/ee/api/repository_files.html#get-file-from-repository