The idea came from the tech talk given by www.priceline.com on Friday wherein they told about the API they exposed and how we could make use of their API to extract useful information about 100's of 1000's of hotels worldwide. I used the BandsInTown API to extract information about the artists whose concerts the user is interested to visit, the information contains the venues the artists plans to have a concert at. Then I allow the user to select a specific destination that he would like to visit the artist at, using the geolocation of this venue and I hit the priceline API to give me information about all the hotels in the city where the venue is present, using the geoco-ordinates of all these hotels I compute a distance score of these hotels from the venue and make use of other probabilistic information to compute a cumulative weight which I call the Hotel Rank(this is just a prototype of the algorithm there can many other things I could use to illustrate this idea). After I have computed this score I sort the hotels in order of their hotel ranks, the higher the score the better the hotel for the customer to stay, I show these hotels as pins on a static google map using the python API pygmaps. To get the user more information about the region around the hotel I use the geolocation of the hotel again and integrate it with the Yelp API to get a list of restaurants in ranked order of preference along with their contact numbers for the customer to see. There can be many more things that can be done in the project as the idea is highly extensible.

Built With

Share this project:

Updates