Permalink
Browse files

Merge pull request #7 from scotthorn/master

Expand photosets_getList with optional vars.
  • Loading branch information...
dan-coulter committed May 19, 2014
2 parents 8f1296a + 9f4fc78 commit 6a6a805001223f88369fbb8473ce1d4d55f73d8e
Showing with 2 additions and 2 deletions.
  1. +2 −2 phpFlickr.php
View
@@ -1322,9 +1322,9 @@ function photosets_getInfo ($photoset_id) {
return $this->parsed_response ? $this->parsed_response['photoset'] : false;
}
function photosets_getList ($user_id = NULL) {
function photosets_getList ($user_id = NULL, $page = NULL, $per_page = NULL, $primary_photo_extras) {
/* https://www.flickr.com/services/api/flickr.photosets.getList.html */
$this->request("flickr.photosets.getList", array("user_id" => $user_id));
$this->request("flickr.photosets.getList", array("user_id" => $user_id, 'page' => $page, 'per_page' => $per_page, 'primary_photo_extras' => $primary_photo_extras));
return $this->parsed_response ? $this->parsed_response['photosets'] : false;
}

0 comments on commit 6a6a805

Please sign in to comment.