Reading Json file from github pages server using javascript

Viewed 4539

I am building my website on github pages which can only host a static website. However it does allow use of javascript. So I have a json file on the github server from where my website runs and I want to fetch and process it using javascript. The link to the file is below

https://bioinfobot.github.io/data/2017-05.json

more specifically it is located at data/2017-05.json

If you click on the link above it will show the attributes of my json file.

I tried many tweaks from stack exchange but nothing is working out for me. Can someone please give me a simple code to just to invoke this file to an object. I can do the rest from there on. Thanks.

3 Answers
Related