{"size": 275, "ext": "js", "max_stars_repo_path": "ui/src/api.js", "max_stars_repo_name": "teamsimplepay/motor-admin-rails", "max_stars_repo_stars_event_min_datetime": "2021-05-30T15:21:17.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-13T08:18:14.000Z", "max_issues_repo_path": "ui/src/api.js", "max_issues_repo_name": "teamsimplepay/motor-admin-rails", "max_issues_repo_issues_event_min_datetime": "2021-06-01T18:31:18.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-09T19:19:31.000Z", "max_forks_repo_path": "ui/src/api.js", "max_forks_repo_name": "teamsimplepay/motor-admin-rails", "max_forks_repo_forks_event_min_datetime": "2021-06-01T17:53:41.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-07T17:57:25.000Z"}
{"max_stars_count": 206, "max_issues_count": 40, "max_forks_count": 12, "avg_line_length": 19.6428571429, "max_line_length": 60, "alphanum_fraction": 0.6836363636}
import axios from 'axios'

import qs from 'qs'
import { basePath } from 'utils/scripts/configs'

const api = axios.create({
  baseURL: basePath + 'api',
  paramsSerializer: (params) => {
    return qs.stringify(params, { arrayFormat: 'brackets' })
  }
})

export default api
