Tracking the most popular GitHub repos, updated daily.
👉 archives
const baseUrl = 'https://ifyour.github.io/github-trending-archive';
// GET json
fetch(`${baseUrl}/data/2018-07-01.json`)
.then(function(response) {
return response.json();
})
.then(function(data) {
console.log('data', data);
})
.catch(function(error) {
console.log('Fetch Error: ', error);
});
You will get response json:
[
{
"title": "kay-is/react-from-zero",
"url": "https://github.com/kay-is/react-from-zero",
"lang": "HTML"
}
]
MIT