A developer on our team was working on integrating the TomTom API. They did a great job laying the groundwork, but they've recently been promoted to a new project that requires their full attention.
We are pretty confident the developer managed to complete the majority of the initial part of the integration, however there might be a bug or two to be discovered.
Your task is to finish off this implementation, ensuring the requirements are met with passing tests.
To take a partial address input and return full address suggestions along with the address broken into its individual components using the TomTom API.
Place Search Documentation: https://developer.tomtom.com/search-api/documentation/search-service/search-service API Key: Oyb0npJAVdRwDauqpFez7zKCy2euUYql
- yarn install
- yarn install
- yarn test
- All tests should pass and ensure good coverage for new work
- We only allow Australian addresses to be returned
- Code should be maintainable and consistent
- The result elements should contain important information about the place (country, municipality, etc)
- The returned result should be typed and easily consumable via users of the library
- No front-end requirements are necessary, this is purely a backend NodeJS library