https://github.com/guiromao/coffee-shop-api
The coffee shop closest to your heart
https://github.com/guiromao/coffee-shop-api
Last synced: 4 months ago
JSON representation
The coffee shop closest to your heart
- Host: GitHub
- URL: https://github.com/guiromao/coffee-shop-api
- Owner: guiromao
- Created: 2023-01-04T21:50:55.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T12:54:40.000Z (almost 3 years ago)
- Last Synced: 2025-02-26T19:16:30.464Z (8 months ago)
- Language: Java
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Coffee Shop API
Implementation for providing a list of near coffee shops based on the user location (Coordinate: latitude and longitude). These will also be ordered from
nearest to less near.
The FindService class contains the logic to obtain and sort the coffee shops, according to the obtained location.
Please run the program and:
1) Input latitude + longitude (two double values separated by a space character)
2) Get the coffee shop locations that match your criteria
Note: due to the distances in metres being easily scaled, my suggestion is that both latitude and longitude are provided as low values, such as 0.0003