Open dellagustin opened 4 years ago
I've also notice if I set the max to higher than 100, the count is limited to the most recent 100 episodes. Maybe I'm doing something wrong, but how would I return the 1300+ episodes of "No Agenda" if I wanted them?
We only have what’s in the feed (and some of what has been recently). No Agenda doesn’t keep all of the episodes in the feed so we don’t have them all.
For the max value, I still need to go back and change that. Thanks for bumping this.
There seems to be a hard cap of 1000 episodes that is returned, even when the RSS feed contains all the episodes.
Entrepreneurs on Fire (id: 389136) for example has close to 2600 episodes in the RSS feed but the API responds with a max of 1000 episodes.
I tried playing with the since parameter, but as episodes are sorted by reverse chron I can't get to all over them.
Instead of increasing the limit a better solution would probably be some sort of paging or range request. Let me think on it.
Thanks!
Agreed, pagination or other way mechanism would be great.
A short term fix might be to have a "before" parameter as well as the "since" (so get x number of episodes before this date), I can loop around that to get all the episodes too.
Ok, this is on the to-do list. I have some documentation to take care of on the namespace repository and then I'll circle back to this.
Are there further updates on this? I'd like to be able to paginate through a podcast's episodes, but the since
parameter seems to be unhelpful, since the results are always returned in reverse chronological order.
Pagination work has been kicked down the road multiple times for multiple reasons, most of which come down to not having enough time to do it all. We bumped the max episode count returned way up to compensate for the lack. I'm assuming in your instance you are wanting to show small windows of episodes in an app that might be too constrained to pull the entire list at once?
Good to know, thanks. Yes, in my case, I'd like to just have a standard episode list for a podcast that can be paginated. I suppose the workaround would just be to download the whole list on the server and expose a pagination mechanism on my own then.
That would get you where you want to go faster for now since I’m tied up with better episode non-guid change detection which might take a couple or three weeks.
I'm curious if this is being worked on yet. I just noticed today that getting more than the latest 1000 eps seems to be impossible. If there is a lot of work to do to enable pagination could you add a 'get all episodes' bool to requests like 'get podcast details by feed id' or bump up the max number to 2000 or 3000? that probably would cover almost all podcasts
This seems more or less essential for building a view that allows user to browse all episodes of a particular feed. Some kind of pagination is necessary.
Any update on this?
Currently when consuming the episodes API, only a max of 40 episodes are returned if the
max
parameter is omitted.one can provide a very large number to max (i.e. 10000), but it would also be good if a user of the API could provide the value 0 to the parameter max, and that would mean an unlimited number of episodes.
An alternative would be a better support for pagination: