Standardized EV Charging Site Evaluator

Standardized EV Charging Site Evaluator · GPT アクション

Overpass API for Points of Interest

Accesses the Overpass API to retrieve OpenStreetMap data for points of interest near a specific location, including details about each place.

  • GET /interpretergetPointsOfInterest

    Retrieves points of interest near a specific location using Overpass QL.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Overpass API for Points of Interest",
    "description": "Accesses the Overpass API to retrieve OpenStreetMap data for points of interest near a specific location, including details about each place.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://overpass-api.de/api/interpreter"
    }
  ],
  "paths": {
    "/interpreter": {
      "get": {
        "description": "Retrieves points of interest near a specific location using Overpass QL.",
        "operationId": "getPointsOfInterest",
        "parameters": [
          {
            "name": "data",
            "in": "query",
            "description": "Overpass QL query to fetch points of interest.",
            "required": true,
            "schema": {
              "type": "string",
              "example": "[out:json];node[amenity=charging_station](50.7,7.1,50.8,7.25);out;"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with points of interest data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "elements": {
                      "type": "array",
                      "description": "List of elements matching the query.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "id": {
                            "type": "integer"
                          },
                          "lat": {
                            "type": "number",
                            "format": "double"
                          },
                          "lon": {
                            "type": "number",
                            "format": "double"
                          },
                          "tags": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request (e.g., bad query format)."
          },
          "429": {
            "description": "Too many requests - Overpass API usage limit exceeded."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}

Nearest Alternative Fuel Stations API

API to find nearest alternative fuel stations based on location, fuel type, and other parameters.

  • GET /nearest.jsongetNearestFuelStations

    Get nearest alternative fuel stations

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Nearest Alternative Fuel Stations API",
    "description": "API to find nearest alternative fuel stations based on location, fuel type, and other parameters.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://developer.nrel.gov/api/alt-fuel-stations/v1"
    }
  ],
  "paths": {
    "/nearest.json": {
      "get": {
        "description": "Get nearest alternative fuel stations",
        "operationId": "getNearestFuelStations",
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "description": "Address or coordinates for the location to search near",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "latitude",
            "in": "query",
            "description": "Latitude of the desired location",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "longitude",
            "in": "query",
            "description": "Longitude of the desired location",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "fuel_type",
            "in": "query",
            "description": "Type of fuel to filter stations (e.g., ELEC, CNG)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "radius",
            "in": "query",
            "description": "Search radius in miles",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "api_key",
            "in": "query",
            "description": "Your API key for authentication",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with nearest fuel stations data",
            "content": {
              "application/json": {}
            }
          },
          "default": {
            "description": "Unexpected error",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  }
}

Geocode Addresses using OpenStreetMap

Converts addresses or ZIP codes to geographical coordinates (latitude and longitude) using OpenStreetMap's Nominatim API.

  • GET /searchGeocodeAddress

    Get latitude and longitude for a specific address or ZIP code

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Geocode Addresses using OpenStreetMap",
    "description": "Converts addresses or ZIP codes to geographical coordinates (latitude and longitude) using OpenStreetMap's Nominatim API.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://nominatim.openstreetmap.org"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "description": "Get latitude and longitude for a specific address or ZIP code",
        "operationId": "GeocodeAddress",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "The address or ZIP code to geocode",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "description": "Format of the response data, typically 'json' or 'xml'",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "xml"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with geocoding data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lat": {
                        "type": "string",
                        "description": "Latitude of the location"
                      },
                      "lon": {
                        "type": "string",
                        "description": "Longitude of the location"
                      },
                      "display_name": {
                        "type": "string",
                        "description": "Full address of the location"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request (e.g., missing required parameters)"
          },
          "404": {
            "description": "Address not found"
          },
          "500": {
            "description": "Internal server error"
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}