Please see the NOTES.md and QA Notes for more on the project.
Helping a user walking around the Helsinki city center looking for a place to eat using Wolt's search.
Create an application that performs the following functions:
- Continuously display a list of up to 15 venues near the user’s current location. If the API returns more than 15 venues display only the first 15 from the list.
- The user’s location should update every 10 seconds to the next coordinate in the provided input list (in this document). After the last location in the list, the app should loop back to the first location and repeat the sequence.
- The venue list should automatically refresh to reflect the new location with a smooth transition animation to enhance visual appeal.
- Each venue should have a “Favourite” action that toggles (true/false) and changes the icon depending on the state. The app must remember these favorite states and reapply them to venues that appear again even after the app is restarted.
| Time passed after opening the app | Current location |
|---|---|
| 0 seconds | locations[0] |
| 10 seconds | locations[1] |
| 20 seconds | locations[2] |
| ... | ... |
| (10 * locationsCount) seconds | locations[0] (looped) |
- 0 seconds: Display venues near
locations[0]. - 10 seconds: Update display to venues near
locations[1]. - 20 seconds: Update display to venues near
locations[2]. - Continue updating every 10 seconds until the end of the list is reached, then loop back to
locations[0]and repeat.
GET https://restaurant-api.wolt.com/v1/pages/restaurants?lat=60.170187&lon=24.930599
| Path / Key | Meaning |
|---|---|
sections -> items -> venue -> id |
Unique ID of the venue |
sections -> items -> venue -> name |
Name of the venue |
sections -> items -> venue -> short_description |
Description of the venue |
sections -> items -> image -> url |
Image URL for the venue |
60.169418, 24.93161860.169818, 24.93290660.170005, 24.93510560.169108, 24.93621060.168355, 24.93486960.167560, 24.93256260.168254, 24.93153260.169012, 24.93034160.170085, 24.929569