Isaac Whatever

I'm making this up.

Friday, October 17, 2008

 

Google App Engine, Fire Eagle, Google Maps...

I've been working on a hobby project lately - a webapp running on google app engine that gets location data from Fire Eagle and displays it in a google map on the page.

To do this I had to slightly modify Steve Marshall's excellent python Fire Eagle API. Make no mistake, I suck at python, and I only edited Mr. Marshall's API until it stopped throwing errors. As soon as it worked for me I stopped, leaving the work half finished.

Here is Mr. Marshall's API, and this is my version modified for google app engine. I really only changed the http module. His version used httplib, which is unsupported in the app engine environment. Urlfetch is used instead.

After that, it was off to the races. I used google's RPC example for app engine to pass my location data from the python (and database) to javascript on the client, after which I copied totally from the google maps beginner example for adding a map and markers.

That part went very smoothly - I practically made the google maps example into the django template for my maps page.

My app is far from finished (it really depends on mobile devices), but these wonderful mashable services made it lots of fun.

Thanks especially to Steve Marshall. I can't tell you how much I appreciate that Fire Eagle API.

When my app is finally finished, I'll let you all know, of course!
-Isaac

Labels: , , , , , , , , , , , , , ,


Archives

May 2004   June 2004   July 2004   September 2004   October 2004   November 2004   February 2005   March 2005   April 2005   May 2005   June 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   April 2006   July 2006   September 2006   October 2006   February 2007   March 2007   April 2007   May 2007   November 2007   December 2007   January 2008   February 2008   March 2008   April 2008   May 2008   June 2008   July 2008   August 2008   October 2008   November 2008   December 2008   April 2009   January 2010   December 2010   January 2012   February 2012   March 2012   May 2012   September 2012   October 2013   January 2014   December 2014   April 2022  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]