{

  "electionDate": "2012-11-06",

  "timestamp": "2016-04-08T16:44:49.595Z",

  "races": [

    {

      "test": true,

      "resultsType": "test",

      "raceID": "0",

      "raceType": "General",

      "raceTypeID": "G",

      "officeID": "P",

      "officeName": "President",

      "eevp": 83,

      "national": true,

      "reportingUnits": [

       {

          "statePostal": "ME",

          "stateName": "Maine",

          "level": "state",

          "electTotal": 4,

          "lastUpdated": "2016-03-28T22:11:55.557Z",

          "precinctsReporting": 538,

          "precinctsTotal": 599,

          "precinctsReportingPct": 89.82,

          "candidates": [

            {"first": "Barack", "last": "Obama", "party": "Dem", "incumbent": true, "candidateID": "28154", "polID": "1918", "ballotOrder": 2, "polNum": "25228", "voteCount": 373936, "electWon": 4, "winner": "X"},

            {"first": "Mitt", "last": "Romney", "party": "GOP", "candidateID": "28155", "polID": "893", "ballotOrder": 3, "polNum": "25229", "voteCount": 272106, "electWon": 0},

            {"first": "Gary", "last": "Johnson", "party": "Lib", "candidateID": "28577", "polID": "31708", "ballotOrder": 1, "polNum": "25275", "voteCount": 12819, "electWon": 0},

            {"first": "Jill", "last": "Stein", "party": "Grn", "candidateID": "28578", "polID": "895", "ballotOrder": 4, "polNum": "25276", "voteCount": 8527, "electWon": 0}]},

       {

          "statePostal": "ME",

          "reportingunitName": "At Large",

          "reportingunitID": "20005",

          "level": "district",

          "districtType": "AtLarge",

          "electTotal": 2,

          "lastUpdated": "2016-03-28T22:11:55.557Z",

          "precinctsReporting": 538,

          "precinctsTotal": 599,

          "precinctsReportingPct": 89.82,

          "candidates": [

            {"first": "Barack", "last": "Obama", "party": "Dem", "incumbent": true, "candidateID": "28154", "polID": "1918", "ballotOrder": 2, "polNum": "25228", "voteCount": 373936, "electWon": 2, "winner": "X"},

            {"first": "Mitt", "last": "Romney", "party": "GOP", "candidateID": "28155", "polID": "893", "ballotOrder": 3, "polNum": "25229", "voteCount": 272106, "electWon": 0},

            {"first": "Gary", "last": "Johnson", "party": "Lib", "candidateID": "28577", "polID": "31708", "ballotOrder": 1, "polNum": "25275", "voteCount": 12819, "electWon": 0},

            {"first": "Jill", "last": "Stein", "party": "Grn", "candidateID": "28578", "polID": "895", "ballotOrder": 4, "polNum": "25276", "voteCount": 8527, "electWon": 0}]},

       {

          "statePostal": "ME",

          "reportingunitName": "District 1",

          "reportingunitID": "20026",

          "level": "district",

          "districtType": "CD",

          "electTotal": 1,

          "lastUpdated": "2016-03-28T22:11:55.557Z",

          "precinctsReporting": 171,

          "precinctsTotal": 175,

          "precinctsReportingPct": 97.71,

          "candidates": [

            {"first": "Barack", "last": "Obama", "party": "Dem", "incumbent": true, "candidateID": "28154", "polID": "1918", "ballotOrder": 2, "polNum": "25228", "voteCount": 211977, "electWon": 1, "winner": "X"},

            {"first": "Mitt", "last": "Romney", "party": "GOP", "candidateID": "28155", "polID": "893", "ballotOrder": 3, "polNum": "25229", "voteCount": 136051, "electWon": 0},

            {"first": "Gary", "last": "Johnson", "party": "Lib", "candidateID": "28577", "polID": "31708", "ballotOrder": 1, "polNum": "25275", "voteCount": 8438, "electWon": 0},

            {"first": "Jill", "last": "Stein", "party": "Grn", "candidateID": "28578", "polID": "895", "ballotOrder": 4, "polNum": "25276", "voteCount": 4822, "electWon": 0}]},

       {

          "statePostal": "ME",

          "reportingunitName": "District 2",

          "reportingunitID": "20027",

          "level": "district",

          "districtType": "CD",

          "electTotal": 1,

          "lastUpdated": "2016-03-28T22:11:55.557Z",

          "precinctsReporting": 367,

          "precinctsTotal": 424,

          "precinctsReportingPct": 86.56,

          "candidates": [

            {"first": "Barack", "last": "Obama", "party": "Dem", "incumbent": true, "candidateID": "28154", "polID": "1918", "ballotOrder": 2, "polNum": "25228", "voteCount": 161959, "electWon": 1, "winner": "X"},

            {"first": "Mitt", "last": "Romney", "party": "GOP", "candidateID": "28155", "polID": "893", "ballotOrder": 3, "polNum": "25229", "voteCount": 136055, "electWon": 0},

            {"first": "Gary", "last": "Johnson", "party": "Lib", "candidateID": "28577", "polID": "31708", "ballotOrder": 1, "polNum": "25275", "voteCount": 4381, "electWon": 0},

            {"first": "Jill", "last": "Stein", "party": "Grn", "candidateID": "28578", "polID": "895", "ballotOrder": 4, "polNum": "25276", "voteCount": 3705, "electWon": 0}]}]}],

"nextrequest": "https://api.ap.org/v2/elections/2012-11-06?statePostal=ME&officeID=P&level=district&test=true&format=json&minDateTime=2016-04-08T16%3a44%3a49.595Z"}