{"size": 550, "ext": "js", "max_stars_repo_path": "demo/binance.js", "max_stars_repo_name": "abramyangCN/leek-fund", "max_stars_repo_stars_event_min_datetime": "2020-12-10T01:36:29.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T08:32:23.000Z", "max_issues_repo_path": "demo/binance.js", "max_issues_repo_name": "abramyangCN/leek-fund", "max_issues_repo_issues_event_min_datetime": "2020-12-10T04:49:40.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T14:51:28.000Z", "max_forks_repo_path": "demo/binance.js", "max_forks_repo_name": "abramyangCN/leek-fund", "max_forks_repo_forks_event_min_datetime": "2020-12-10T05:06:14.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-30T09:11:21.000Z"}
{"max_stars_count": 1498, "max_issues_count": 162, "max_forks_count": 238, "avg_line_length": 23.9130434783, "max_line_length": 136, "alphanum_fraction": 0.5636363636}
const Axios = require('axios');

function request() {
  return new Promise((resolve, reject) => {
    Axios.get(`https://api.binance.com/api/v1/exchangeInfo`, {
      headers: {
        'User-Agent':
          'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.11 TaoBrowser/3.0 Safari/536.11',
      },
    })
      .then((response) => {
        const data = response.data;

        resolve(data);
      })
      .catch((err) => console.log(err));
  });
}

request().then((res) => {
  console.log(res);
});
