/github-trending-archive

🎲 Tracking the most popular GitHub repos, updated daily

Primary LanguageJavaScriptMIT LicenseMIT

github-trending-archive

Build Status Size Node

Tracking the most popular GitHub repos, updated daily.

Preview

👉 archives

API

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"
  }
]

License

MIT