This is the JSON response for the /postcodes/L5G4L3/?sets=federal-electoral-districts API call. Get the raw JSON or read the API reference.

{
    "boundaries_centroid": [
        {
            "external_id": "35061",
            "name": "Mississauga\u2014Lakeshore",
            "url": "/boundaries/federal-electoral-districts/35061/",
            "related": {
                "boundary_set_url": "/boundary-sets/federal-electoral-districts/"
            },
            "boundary_set_name": "Federal electoral district"
        }
    ],
    "boundaries_concordance": [],
    "centroid": {
        "type": "Point",
        "coordinates": [
            -79.580111,
            43.579924
        ]
    },
    "code": "L5G4L3",
    "city": "Mississauga",
    "representatives_centroid": [
        {
            "name": "Sven Spengemann",
            "email": "Sven.Spengemann@parl.gc.ca",
            "source_url": "http://www.parl.gc.ca/Parliamentarians/en/members?view=ListAll",
            "extra": {},
            "first_name": "Sven",
            "offices": [
                {
                    "type": "legislature",
                    "postal": "House of Commons\nOttawa ON  K1A 0A6",
                    "tel": "1 613 992-4848",
                    "fax": "1 613 996-3267"
                },
                {
                    "type": "constituency",
                    "postal": "1077 North Service Road (Main Office)\nSuite 30\nMississauga ON  L4Y 1A6",
                    "tel": "1 905 273-8033",
                    "fax": "1 905 273-5040"
                }
            ],
            "related": {
                "representative_set_url": "/representative-sets/house-of-commons/",
                "boundary_url": "/boundaries/federal-electoral-districts/35061/"
            },
            "party_name": "Liberal",
            "gender": "",
            "personal_url": "http://sspengemann.liberal.ca",
            "elected_office": "MP",
            "representative_set_name": "House of Commons",
            "last_name": "Spengemann",
            "photo_url": "http://www.parl.gc.ca/Parliamentarians/Images/OfficialMPPhotos/42/SpengemannSven_Lib.jpg",
            "url": "http://www.parl.gc.ca/Parliamentarians/en/members/Sven-Spengemann(88852)",
            "district_name": "Mississauga\u2014Lakeshore"
        }
    ],
    "province": "ON"
}