After the user has completed the form and presented the results page, it will be great to show the existing data about the postal/zip code he is in.
For example, if the user inputs M4A2B1 as post code, there should be an API that returns the data for:
- Confimed
- Deaths
- Recovered
Suggestion:
GET /statistics?post_code=M4A2B1&date=2020-03-20
parameters:
Response:
{
city: 'New York,
confirmed: 123,
deaths: 0,
recovered: 0,
updateDate: '2020-03-20'
}
After the user has completed the form and presented the results page, it will be great to show the existing data about the postal/zip code he is in.
For example, if the user inputs M4A2B1 as post code, there should be an API that returns the data for:
Suggestion:
GET /statistics?post_code=M4A2B1&date=2020-03-20parameters:
Response: