To build this app, I used some open source API’s that would let me retrieve the relevant data:
- https://postcodes.io/ - to get the users constituency based on longitude and latitude or postcode
- https://members-api.parliament.uk/ - to retrieve the local MP details based on constituency
The app features:
- Find your local MP by postcode, geolocation or from a list of constituencies
- View your local MP details including:
- Contact Details
- Latest Contributions
- Recent Votes
- A map of your constituency
- Bookmark MPs
Overall I’m happy how the app turned out and look forward to adding more functionality in future.