{"size": 443, "ext": "js", "max_stars_repo_path": "Coursely/client/src/utils/API.js", "max_stars_repo_name": "Farouk994/Alt2.0", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Coursely/client/src/utils/API.js", "max_issues_repo_name": "Farouk994/Alt2.0", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Coursely/client/src/utils/API.js", "max_forks_repo_name": "Farouk994/Alt2.0", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.6875, "max_line_length": 66, "alphanum_fraction": 0.625282167}
/* eslint-disable import/no-anonymous-default-export */
import axios from "axios";

export default {
   getSchools: function () {
      return axios.get("http://localhost:5050/api/school/");
   },
   getSchool: function (id) {
      return axios.get(`http://localhost:5050/api/school/${id}`);
   },
   searchSchool: function (query) {
      return axios.get(
         `http://localhost:5050/api/school/search-school/${query}`
      );
   },
};