cewing/training.python_web — pull request #31 by ericchou-python (2013-01-24 07:11:37+00:00)
Title: Week 3 Homework 2 MashUps

Hi Cris, I did two Mashups for this week's homework:

1. GeoIP + GoogleMap Mash Up
- Use http://api.hostip.info/get_json.php?ip= to get the lat/lng of the IP location.
- Use GoogleMap to display a thumbnail image and link off to full image
- Result can be viewed on VM:
- http://block647043-lud.blueboxgrid.com:50000/ip/216.9.0.16 (Washington IP)
- http://block647043-lud.blueboxgrid.com:50000/ip/1.1.1.1 (Germany)
- http://block647043-lud.blueboxgrid.com:50000/ip/2.1.1.1 (HostIP did not return results)

2. Facebook Friends + Popular Names Mash Up
- Use Facebook Graph API to find a list of my friends.
- Use http://names.whitepages.com/first/ to find the ranking of popularity of the name in the year 2011.
- Use GraphViz to generate a neato graph to visualize the data
- nameMash.py is used to get the ranks and generate 2011NameRank.gv file
- Result can be viewed as attached or on VM:
- http://block647043-lud.blueboxgrid.com:50000/2011NameRank

Cheers,

Eric

![2011NameRank](https://f.cloud.github.com/assets/2524959/92800/3f15849c-65f5-11e2-98b6-7dc438113046.png)