Linusp / python-inoreader

Python wrapper of Inoreader API
65 stars 18 forks source link

Added 'n' param to fetch_articles method #28

Closed tosborne-slalom closed 4 months ago

tosborne-slalom commented 5 months ago

Adding n param to fetch_articles method in order to include in request to stream/contents/[streamId] endpoint. This will be helpful to users who want to increase the number of items returned in order to preserve total API requests and not reach limit too early. Default is 20 returned items if 'n' parameter is not specified in request so would like the ability to set this based on user preference.

Linusp commented 4 months ago

Hmm……I hadn't noticed this parameter before your suggestion. Thank you so much for your Pull Request! It looks good to me so I'll merge it and release a new version later. Your contribution will be noted in the release notes. :smile:

tosborne-slalom commented 4 months ago

@Linusp thank you! When do you expect to release the new version? This will be a huge help for my team so I appreciate it whenever you get the chance no rush

Linusp commented 4 months ago

@tosborne-slalom I've made some additional changes, please review them here: #30

Linusp commented 4 months ago

@tosborne-slalom Thanks for your contribution again. I want to let you know that I have released the new version. Now you can run pip install python-inoreader==0.7.0 to install it.