| | |
Methods defined here:
- __init__(self, key, secret, uid, browser='lynx')
- Instantiates an Offlickr object
An API key is needed, as well as an API secret and a user id.
A browser can be specified to be used for authorizing the program
to access the user account.
- downloadURL(self, url, filename, verbose=False)
- Saves a photo in a file
- getOriginalPhoto(self, pid)
- Returns a URL which is the original photo, if it exists
- getPhotoList(self, dateLo, dateHi)
- Returns a list of photo given a time frame
- getPhotoMetadata(self, pid)
- Returns a string containing the photo metadata (in XML)
- getPhotoSizes(self, pid)
- Returns a string with is a list of available sizes for a photo
- getPhotosetInfo(self, pid, method)
- Returns a string containing information about a photoset (in XML)
- getPhotosetList(self)
- Returns a list of photosets for a user
|