You can now retrieve all the files in the folder in the repository.
https://api.github.com/repos/user/zenn-content/contents/articles
Repository page:
https://github.com/wimpykid719/zenn-content/tree/master/articles
I'd like to add the pageation function to my blog, so I'd like to get the number of files, not all at once.Is it possible with GitHub's API?
I looked at the document and found no description for the files in the repository, although it seems that it is possible to adjust the number of repositories by setting parameters such as page=5&per_page=10
.
Could you please let me know if anyone knows?Thank you for your cooperation.
github webapi
I saw GitHub, and I would like to see it using the Zenn CLI of Zenn (https://zenn.dev/).
If you're writing in Zenn, you'd better watch the Zenn CLI tutorial.Otherwise, I think you should write a specific image of how to deploy and blog articles on GitHub.
© 2024 OneMinuteCode. All rights reserved.