{"size": 362, "ext": "js", "max_stars_repo_path": "src/API/environmental_categories.js", "max_stars_repo_name": "msilikale05/project-supervision-tool-frontend", "max_stars_repo_stars_event_min_datetime": "2021-05-17T11:06:05.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-22T06:03:13.000Z", "max_issues_repo_path": "src/API/environmental_categories.js", "max_issues_repo_name": "msilikale05/project-supervision-tool-frontend", "max_issues_repo_issues_event_min_datetime": "2021-09-13T20:02:24.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-11T13:41:02.000Z", "max_forks_repo_path": "src/API/environmental_categories.js", "max_forks_repo_name": "msilikale05/project-supervision-tool-frontend", "max_forks_repo_forks_event_min_datetime": "2021-03-23T20:09:17.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-22T05:14:23.000Z"}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": 5, "avg_line_length": 17.2380952381, "max_line_length": 114, "alphanum_fraction": 0.6850828729}


import axios from "./config";

/**
 * Get a sub project element from the API
 * @function
 * @name getEnvironmentalCategories
 *
 * @returns {Promise}
 *
 * @version 0.1.0
 * @since 0.1.0
 */
const getEnvironmentalCategories = () => axios.get(`/environmental_categories`).then((response) => response.data);


export default {
    getEnvironmentalCategories,
}
