freemius-php-sdk icon indicating copy to clipboard operation
freemius-php-sdk copied to clipboard

count description doesn't respect the limit defined in the documentation

Open leonstafford opened this issue 7 years ago • 0 comments

Using something like

$inactive_sites = $api->Api("/plugins/{$first_plugin_id}/installs.json?filter=active&count=30", 'GET');

I'm unable to get more than 25 results returned. I can set the value to less than 25 and it returns the expected number of results.

The API documentation states:

Ranges from 1 to 50. Example: 30. Default: 25.

and

Pagination: All collection queries optionally accept count (limit) and offset params while limit can range from 1 to 50 and defaults to 25.

Suggested fix: align API with documentation.

leonstafford avatar Jul 28 '18 02:07 leonstafford