Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I would like to fetch all recent feed data from particular since time. #57

Open
Vignesh-balakrishnan14 opened this issue Jun 22, 2021 · 18 comments

Comments

@Vignesh-balakrishnan14
Copy link

When hitting the recent feed data API, I will get a maximum of 1000, if set the max as 1000. I want to get all recent feed data if the record has more than 1000. Please implement the pagination to retrieve all recent feed data.

@daveajones
Copy link
Contributor

What is the use case for this? What are you trying to do from your side? There are a couple of other endpoints that may give you what you need.

@Vignesh-balakrishnan14
Copy link
Author

Vignesh-balakrishnan14 commented Jun 22, 2021 via email

@daveajones
Copy link
Contributor

So, you are trying to track every time any feed in the index is updated?

@Vignesh-balakrishnan14
Copy link
Author

Vignesh-balakrishnan14 commented Jun 22, 2021 via email

@daveajones
Copy link
Contributor

I'm working on a new update endpoint right now that will better suit your needs. We're beta testing it currently. I'll update this issue when it's ready.

@Vignesh-balakrishnan14
Copy link
Author

Vignesh-balakrishnan14 commented Jun 22, 2021

Thanks, @daveajones. Hope that endpoint will have pagination.

@daveajones
Copy link
Contributor

We're using object storage for tracking updates to the index now. The most current feed/episode update data is here:

https://tracking.podcastindex.org/current

You can use the "previousTrackingUrl" of each data block to paginate back in time from wherever you are in the chain. Details here:

https://podcastindex.social/@dave/106456341067494760

@Vignesh-balakrishnan14
Copy link
Author

I checked this current feed/episode URL which is useful to us. But we want the iTunes podcast and English language podcasts alone. Have any possibility to add the iTunes ID in feeds array and language filtering in that current feed/episode URL?

@daveajones
Copy link
Contributor

Yes I can add the iTunes id and language to the results. This isn’t a true API endpoint. It’s a data dump to object storage. So, you will need to filter out the languages on your side. This tracks every single change to the database.

The “recent” endpoints put a lot of load on our database, so doing it this way allows us to reduce that.

I will post here when the iTunesID and language are added shortly.

@Vignesh-balakrishnan14
Copy link
Author

Okay. Thanks, @daveajones.

@Vignesh-balakrishnan14
Copy link
Author

Do you have any idea to include the pagination on the recent feed API?

@daveajones
Copy link
Contributor

Not at this time.

@Vignesh-balakrishnan14
Copy link
Author

Okay.

@daveajones
Copy link
Contributor

The itunes id is now added. Language is already there.

@Vignesh-balakrishnan14
Copy link
Author

Vignesh-balakrishnan14 commented Jun 24, 2021

Hi dave,

We need the feed categories. Shall we expect to have the categories attribute in the current feed/episode data?

One more clarification, current feed/episode URL data give currently updated episodes alone or newly created podcasts feed also?

@daveajones
Copy link
Contributor

Let me look and see...

@daveajones
Copy link
Contributor

One more clarification, current feed/episode URL data give currently updated episodes alone or newly created podcasts feed also?

It's both. That is the full firehose of all updates, regardless if they are new or existing.

@Vignesh-balakrishnan14
Copy link
Author

Let me look and see...

Please consider. If you don't want to add that attribute. Please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants