Typo fix for daily paper api#1878
Conversation
pcuenca
left a comment
There was a problem hiding this comment.
Actually, I don't think week or month queries work for the /api/daily_papers endpoint, see this implementation (Hugging Face internal).
They do work for the user-facing /papers URI.
cc @cfahlgren1
Thanks for your reply. I was just puzzled about why the weekly papers obtained through the API are different from those on the website, and the content for two weeks is exactly the same. |
|
I removed the misleading line while we wait for @cfahlgren1 to confirm. Thanks for pointing this out @horizon86! 🙌 |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
You are correct, currently we don't support weekly / monthly through the API (however I can look at adding). By default we return papers sorted by curl -s https://huggingface.co/api/daily_papers | jq '.[] | .paper | {publishedAt, submittedOnDailyAt}'{
"publishedAt": "2025-08-18T03:00:55.000Z",
"submittedOnDailyAt": "2025-08-21T16:24:52.173Z"
}
{
"publishedAt": "2025-08-20T09:40:06.000Z",
"submittedOnDailyAt": "2025-08-21T10:32:37.009Z"
}Let me know if this answers your question 🤗 |
|
Thanks @cfahlgren1 for the confirmation! |
Thank you for your answer. If the API supports weekly/monthly papers someday, could you please comment here? Of course, it's perfectly fine if you don't comment. Thank you.🤗 |
|
hi @horizon86 you should be able to do this now! |
Thanks for your work and reply 🤗 |
No description provided.