I need support for lat lon, radius, has_geo in the search.
here is a patch that is backward and forward compatible for the features.
example usage:
photos_search(lat=39.73,lon=-104.98,radius=5,tags=tags,has_geo=1, per_page=16)
Index: flickr.py
===================================================================
--- flickr.py (revision 56)
+++ flickr.py (working copy)
@@ -923,7 +923,7 @@
min_upload_date='', max_upload_date='',\
min_taken_date='', max_taken_date='', \
license='', per_page='', page='', sort='',\
- safe_search='', content_type='' ):
+ safe_search='', content_type='', **kwargs):
"""Returns a list of Photo objects.
If auth=True then will auth the user. Can see private etc
@@ -938,7 +938,7 @@
license=license, per_page=per_page,\
page=page, sort=sort, safe_search=safe_search, \
content_type=content_type, \
- tag_mode=tag_mode)
+ tag_mode=tag_mode, **kwargs)
photos = []
if data.rsp.photos.__dict__.has_key('photo'):
if isinstance(data.rsp.photos.photo, list):