Ruby for Plazes

The code described here has been moved into Subversion.

I’ve done some work this week expanding on the work I wrote about in the post Talking to Plazes from Ruby: I’ve now created general-purpose Ruby module that implements all of the Plazes API methods, both the Launcher and the WhereAmI.

Here’s what you need to start talking to Plazes from Ruby yourself:

Note that my implementation is very Mac OS X specific because of the method I used to grab the MAC address of the current gateway; it should be trivial, however, to modify the code to accommodate other operating systems (there are plenty of comments in the code to suggest where and what).

And here’s (primitive) proof that it works:

Screen shot showing Ruby talking to Plazes


art's picture
art on July 30, 2005 - 14:26 Permalink

Cool! Thanks for sharing this Peter, it’s a great example for those of us trying to figure out where ruby fits into the perl/php/python/… landscape.