Crime API App
An application that demonstrates fetching and displaying UK police crime data from a public API.
Technologies Used
Skills Developed
I wanted to practice building using APIs both to develop my experience with them as well as to practice working with JSON. This project taught me about asynchronous JavaScript and handling external data sources.
About this Project
The Crime API App connects to the UK Police public API to display crime statistics and details. Users can search for crimes by location and view categorized results. I built this to gain experience with API integration, asynchronous programming, and data visualization. The app demonstrates handling of API responses, error states, and presenting complex data in a user-friendly format.
Key Features
- Integration with UK Police API
- Location-based crime searches
- Category filtering of crime data
- Visual representation of crime statistics
- Error handling for API failures
- Responsive design for mobile and desktop
Challenges & Solutions
Challenge 1:Working with asynchronous API calls
Solution:
Implemented async/await patterns to handle API responses cleanly
Challenge 2:Presenting complex crime data in a meaningful way
Solution:
Created a filtering system and visual representation of crime categories for better data comprehension