A kata to practice with asynchronous code
Our customer need you to develop an interactive map where:
- We have to place a pin for every city
- If you click on one pin, you will display
- Information from Wikipedia
- Images from Instagram, Google Images, etc..
- If you click two cities you will display the exchange rate between the two cities' country
You can get a full list of cities of the world from: https://raw.githubusercontent.com/David-Haim/CountriesToCitiesJSON/master/countriesToCities.json
To place every pin correctly you can use: https://developers.google.com/maps/documentation/geocoding/start
And for a world map image the customer suggest this image: http://www.datemplate.com/postpic/2011/03/alternate-history-blank-world-map_118548.png, but maybe the image will change, be smart :)
For the exchange rate api, please see: http://stackoverflow.com/questions/3139879/how-do-i-get-currency-exchange-rates-via-an-api-such-as-google-finance
If you want to share what you came up with, don't hesitate to open an issue with a link to your repository. I will link it here and we both will live a long and happy life.