Archive of UserLand's first discussion group, started October 5, 1998.

Re: Public XML-RPC services?

Author:Skip Montanaro
Posted:1/18/1999; 1:19:36 PM
Topic:WDDX Annotated DTD
Msg #:2212 (In response to 2204)
Prev/Next:2211 / 2213

It's not a whole lot more exciting than mapping numbers to state names, but you're welcome to look up lat/long coordinates at:

   import xmlrpclib
   dolphin = xmlrpclib.Server("http://dolphin.calendar.com:8000")
   print dolphin.latlong("San Francisco", "CA")
   print dolphin.latlong("Stockholm", "", "Sweden")

as long as it's up. (It's just my development machine.)

Thanks to Fredrik for the Pythonic XML RPC server. It works great...


There are responses to this message:


This page was archived on 6/13/2001; 4:47:21 PM.

© Copyright 1998-2001 UserLand Software, Inc.