buzzsprout / buzzsprout-api

The official documentation for the Buzzsprout API (http://www.buzzsprout.com).
48 stars 11 forks source link

Outdated API data #49

Closed joaobwz closed 2 months ago

joaobwz commented 2 months ago

I'm pulling the data through the API, but the data is out of date, the website shows newer numbers than in the API result (total_plays for example).

johnloringpollard commented 2 months ago

Do you have a screenshot of what you mean by "newer numbers"?

joaobwz commented 2 months ago

@johnloringpollard

total_plays in the API response is outdated compared to the dashboard. And weirdly, it seems that this issue doesn't occur with all podcasts.

Screenshot 2024-07-10 135308 Screenshot 2024-07-10 135316

tomrossi7 commented 2 months ago

Was this a migrated episode with imported downloads?

tomrossi7 commented 2 months ago

I've confirmed the issue is because the episode had 20 downloads when the episode was imported. I'm looking now at having those added to the "total_plays" in the API.

tomrossi7 commented 2 months ago

A fix has been deployed that incorporates older downloads as well as imported downloads.

joaobwz commented 2 months ago

A fix has been deployed that incorporates older downloads as well as imported downloads.

I think It's working now, thanks. I'm working in a task on this and let you know if I find any more issues.