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": [ { "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts/" }, "boundary_set_name": "Federal electoral district", "external_id": "35061", "name": "Mississauga\u2014Lakeshore", "url": "/boundaries/federal-electoral-districts/35061/" } ], "province": "ON", "code": "L5G4L3", "representatives_centroid": [ { "district_name": "Mississauga\u2014Lakeshore", "name": "Charles Sousa", "party_name": "Liberal", "photo_url": "https://www.ourcommons.ca/Content/Parliamentarians/Images/OfficialMPPhotos/44/SousaCharles_Lib.jpg", "elected_office": "MP", "url": "https://www.ourcommons.ca/Members/en/charles-sousa(114349)", "offices": [ { "tel": "1 613 992-4848", "fax": "1 613 992-4848", "postal": "House of Commons\nOttawa ON K1A 0A6", "type": "legislature" }, { "tel": "1 905 273-8033", "fax": "1 905 273-5040", "postal": "Main office - Mississauga\n1077 North Service Road\nSuite 30\nMississauga ON L4Y 1A6", "type": "constituency" } ], "related": { "representative_set_url": "/representative-sets/house-of-commons/", "boundary_url": "/boundaries/federal-electoral-districts/35061/" }, "representative_set_name": "House of Commons", "last_name": "Sousa", "extra": { "preferred_languages": [ "English" ] }, "source_url": "https://www.ourcommons.ca/Members/en/search?caucusId=all&province=all", "first_name": "Charles", "gender": "M", "email": "charles.sousa@parl.gc.ca", "personal_url": "" } ], "city": "Mississauga", "boundaries_concordance": [], "centroid": { "coordinates": [ -79.580111, 43.579924 ], "type": "Point" } }