Python Flickr API implementation