Guys, First off I'm a little green to both python and the app engine, so apologies up front if this seems like a dumb question...
I'm using urlfetch to retrieve some xml from flickr: ... url = 'http://api.flickr.com/services/rest/' method = 'flickr.photosets.getPhotos' api_key = 'xxxxxxxxxxxxxxxxxxxxxxxxx' params = 'method=' + method + '&api_key=' + api_key + '&photoset_id=' + set_id data = urlfetch.fetch(url, headers={}, payload=params,method=urlfetch.POST) ... I'm then deserializing the xml into a python object: ... from django.core import serializers obj = serializers.deserialize(format, data.content) ... Which give me a deserialzer object: <django.core.serializers.xml_serializer.Deserializer object at 0x5a39150> My question is how do i get access to the contents of the deserializer object? Do I have to do some additional processing to access it? Again sorry if this comes across as being a dumb question, oh and yes I know its probably more of a general python question, but I haven't found a busy python group. for reference here is an example xml response from flickr: <rsp stat="ok"> <photoset id="4" primary="2483" page="1" perpage="500" pages="1" total="2"> <photo id="2484" secret="123456" server="1" title="my photo" isprimary="0" /> <photo id="2483" secret="123456" server="1" title="flickr rocks" isprimary="1" /> </photoset> </rsp> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---