commonthread-flickr_fu 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +1 -0
- data/flickr_fu.gemspec +1 -1
- data/lib/flickr/photo.rb +6 -0
- data/lib/flickr/photos.rb +4 -0
- metadata +1 -1
data/README
CHANGED
data/flickr_fu.gemspec
CHANGED
data/lib/flickr/photo.rb
CHANGED
data/lib/flickr/photos.rb
CHANGED
|
@@ -111,6 +111,8 @@ class Flickr::Photos < Flickr::Base
|
|
|
111
111
|
# Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
|
|
112
112
|
# * page (Optional)
|
|
113
113
|
# The page of results to return. If this argument is omitted, it defaults to 1.
|
|
114
|
+
# * media (Optional)
|
|
115
|
+
# The type of media to search for. 'photo', 'video', or 'both' are allowed arguments, with 'both' being the default.
|
|
114
116
|
#
|
|
115
117
|
def search(options)
|
|
116
118
|
options.merge!({:extras => "license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags,o_dims,views,media"})
|
|
@@ -143,6 +145,8 @@ class Flickr::Photos < Flickr::Base
|
|
|
143
145
|
# Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
|
|
144
146
|
# * page (Optional)
|
|
145
147
|
# The page of results to return. If this argument is omitted, it defaults to 1.
|
|
148
|
+
# * media (Optional)
|
|
149
|
+
# The type of media to search for. 'photo', 'video', or 'both' are allowed arguments, with 'both' being the default.
|
|
146
150
|
#
|
|
147
151
|
def get_recent(options)
|
|
148
152
|
options.merge!({:extras => "license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags,o_dims,views,media"})
|