Code Monkey home page Code Monkey logo

Comments (12)

alexanderytaylor avatar alexanderytaylor commented on July 20, 2024 6

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

from docs-api.

daveajones avatar daveajones commented on July 20, 2024 3

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.

from docs-api.

milesegan avatar milesegan commented on July 20, 2024 1

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.

from docs-api.

thebells1111 avatar thebells1111 commented on July 20, 2024

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?

from docs-api.

daveajones avatar daveajones commented on July 20, 2024

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.

from docs-api.

mubashariqbal avatar mubashariqbal commented on July 20, 2024

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.

from docs-api.

daveajones avatar daveajones commented on July 20, 2024

Instead of increasing the limit a better solution would probably be some sort of paging or range request. Let me think on it.

from docs-api.

mubashariqbal avatar mubashariqbal commented on July 20, 2024

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.

from docs-api.

sheldonbaker avatar sheldonbaker commented on July 20, 2024

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.

from docs-api.

daveajones avatar daveajones commented on July 20, 2024

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?

from docs-api.

sheldonbaker avatar sheldonbaker commented on July 20, 2024

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.

from docs-api.

daveajones avatar daveajones commented on July 20, 2024

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.

from docs-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.