Code Monkey home page Code Monkey logo

Comments (7)

stevencrader avatar stevencrader commented on July 20, 2024 1

That is what that endpoint is for but as you said, it has limitations.

You can also access feeds from object storage at https://tracking.podcastindex.org/current or using the yet to be documented https://api.podcastindex.org/api/1.0/recent/data?pretty. To view prior blocks, pass the nextSince value https://api.podcastindex.org/api/1.0/recent/data?pretty&since=1671079551

I'll get this documented soon. I somehow missed it and just found it searching the social.

from docs-api.

filterdo avatar filterdo commented on July 20, 2024

Thanks @stevencrader - So to have the most current data, you loop through nextSince until you reach the date that you last retrieved updates from the API? Is that correct?

from docs-api.

stevencrader avatar stevencrader commented on July 20, 2024

I believe that's how it's supposed to work

from docs-api.

daveajones avatar daveajones commented on July 20, 2024

If using the "tracking" url, just walk backwards through previousTrackingUrl's until you hit the last "position" you had. That catches you up.

from docs-api.

filterdo avatar filterdo commented on July 20, 2024

I get an error:
"invalid json response body at https://tracking.podcastindex.org/current reason: Unexpected token < in JSON at position 0"

Any idea why?

from docs-api.

daveajones avatar daveajones commented on July 20, 2024

Working fine on my side. What software or call type is giving you that error?

from docs-api.

filterdo avatar filterdo commented on July 20, 2024

Using node-fetch, but https://api.podcastindex.org/api/1.0/recent/data (and all other endpoints) works fine. So I am using that.

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.