Linusp / python-inoreader

Python wrapper of Inoreader API
65 stars 18 forks source link

Add support for setting 'n' parameter when using inoreader client's fetch_articles method #29

Closed tosborne-slalom closed 4 months ago

tosborne-slalom commented 5 months ago

Currently when calling the fetch_articles method, there is no way for the user to specify the number of items returned in a response to a single API request. This is due to the 'n' parameter not being included in the request. This would be useful for users like myself who are trying to maximize number of items returned per response in order to minimize total number of requests in order to avoid exceeding daily request limit based on plan. The default # of items returned is 20 and max that can be returned is 100 so adding the ability to configure and include 'n' parameter would be HUGE in terms of value since this would essentially require 5x less API requests in order to fetch same number of articles.

I created a PR for this @Linusp and appreciate you taking the time to review it whenever you get the chance