Polling Places API icon

Polling Places API

This data set contains the list of polling places

COMMUNITYNO AUTH0 INSTALLS
OpenAPI Specificationv3.0
{
  "swagger": "2.0",
  "schemes": [
    "http"
  ],
  "host": "api.phila.gov",
  "basePath": "/polling-places/v1",
  "info": {
    "contact": {
      "x-twitter": "PhiladelphiaGov"
    },
    "description": "\nThis data set contains the list of polling places. It can be organized by ward/division, accessibility rating, or type of building.\n\nThis list is used to assign poll workers, send the machines and necessary accessibility materials, etc.\n\n**Endpoint:** http://api.phila.gov/polling-places/v1\n",
    "title": "Polling Places API",
    "version": "1.0",
    "x-apisguru-categories": [
      "open_data"
    ],
    "x-logo": {
      "url": "https://api.apis.guru/v2/cache/logo/https_twitter.com_PhiladelphiaGov_profile_image.png"
    },
    "x-origin": [
      {
        "format": "swagger",
        "url": "https://raw.githubusercontent.com/CityOfPhiladelphia/phlapi/gh-pages/pollingplaces/swagger.json",
        "version": "2.0"
      }
    ],
    "x-providerName": "phila.gov",
    "x-serviceName": "pollingplaces"
  },
  "paths": {
    "/": {
      "get": {
        "parameters": [
          {
            "description": "Ward Number",
            "format": "int32",
            "in": "query",
            "name": "ward",
            "required": true,
            "type": "integer"
          },
          {
            "description": "Division Number",
            "format": "int32",
            "in": "query",
            "name": "division",
            "required": true,
            "type": "integer"
          },
          {
            "description": "Optional parameter for jsonp support.",
            "in": "query",
            "name": "callback",
            "required": false,
            "type": "string"
          }
        ],
        "produces": [
          "application/json"
        ],
        "responses": {
          "200": {
            "description": "An array containing the polling place",
            "schema": {
              "$ref": "#/definitions/features"
            }
          }
        },
        "summary": "Get Polling Places Data"
      }
    }
  },
  "definitions": {
    "features": {
      "properties": {
        "building": {
          "description": "Assigned code to denote the accessibility of the polling place. See above for details of the codes.\nF = Building Fully Accessible;\nB = Building Substantially Accessible;\nM = Building Accessibilty Modified;\nA = Alternate Entrance;\nR = Building Accessible With Ramp;\nN = Building Not Accessible\n",
          "type": "string"
        },
        "display_address": {
          "description": "Mailing address of the polling place (formatted for display purposes).",
          "type": "string"
        },
        "division": {
          "description": "The number of the electoral section that houses the polling place.",
          "type": "string"
        },
        "lat": {
          "description": "Latitudinal coordinates of the polling place.",
          "format": "float",
          "type": "number"
        },
        "lng": {
          "description": "Longitudinal coordinates of the polling place.",
          "format": "float",
          "type": "number"
        },
        "location": {
          "description": "The name of the polling place.",
          "type": "string"
        },
        "parking": {
          "description": "Assigned code to denote the availability of parking. See above for details of the codes.\nN = No Parking;\nG = General Parking;\nL = Loading Zone;\nH = Handicap Parking\n",
          "type": "string"
        },
        "pin_address": {
          "description": "Mailing address of the polling place.",
          "type": "string"
        },
        "ward": {
          "description": "The number of the electoral subdivision that houses the polling place.",
          "type": "string"
        },
        "zip_code": {
          "description": "Zipcode of the polling place.",
          "format": "int32",
          "type": "integer"
        }
      }
    }
  }
}
    Polling Places API MCP Server - APIFold Marketplace | APIFold