The GlobeGlide application is designed to be accessed via web browsers, offering dynamically updated HTML and CSS for an engaging user experience. Leveraging various Web APIs, this application provides valuable information for travelers exploring different countries.
The following Web APIs have been used to fetch data.
-
API Ninjas: Using a country name, the country two-letter ISO code and the three-letter currency code is fetched from API Ninjas. Then by utilizing the country's two-letter ISO code, three popular cities in the country and their coordinates are fetched from API Ninjas.
-
ExchangeRate-API: Using the fetched country currency code obtained from API Ninjas, three query is made to Exchange-Rate API to optain exchange rate to "GBP", "USD" and "EUR".
-
FOURSQUARE Places API: Using city coordinates obtained earlier, this API retrieves points of interest, such as monuments, hotels, etc along with their photo codes (
fsq_id
). Then with this code, the application fetches the respective photo URLs. -
Google Maps Geocoder API: This API facilitates the retrieval of city maps to enhance the user experience.
The following figure shows a screenshot of the working API.
Figure.1. GlobeGlide application- The user inputs a country name and initiates the search.
- GlobeGlide displays names of three popular cities within the selected country and presents the exchange rates for its currency.
- Clicking on a city image reveals a dropdown menu, allowing users to select points of interest and view corresponding information as well as the city map.
- The application stores the information (name, two-letter ISO code and three-letter currency code) of the last ten searched countries in the local storage for quicker information retrieval.
N/A
The following resources were used.
- API Ninjas documentation.
- ExchangeRate-API documentation.
- FOURSQUARE Places API documentation.
- Google Maps Geocoder API documentation.
- https://www.w3schools.com/
- https://developer.mozilla.org/
- https://stackoverflow.com/
Please see the License