{"size": 224, "ext": "js", "max_stars_repo_path": "client/src/services/rentalSpot.js", "max_stars_repo_name": "mung9/BIKE", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/services/rentalSpot.js", "max_issues_repo_name": "mung9/BIKE", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/src/services/rentalSpot.js", "max_forks_repo_name": "mung9/BIKE", "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": 17.2307692308, "max_line_length": 49, "alphanum_fraction": 0.7053571429}
import http from './http';

const endPoint = "api/rentalspot";

export async function getRentalSpots() {
  const response = await http.get(`${endPoint}`);
  return response;
}

export async function getRentalSpot(id) {
  
}
