0

How to dynamically get data from my GitHub account

So here is the thing, Recently I have made my own portfolio and I want to like add the recent repos to my projects section of the portfolio how it's possible do I have to do API stuff like fetch the data from GitHub and show the repos in my Portfolio

6th Oct 2024, 7:39 PM
Hassaan
Hassaan - avatar
3 Respuestas
+ 3
GitHub has a REST API where you can perform various searches. Search the CODE BITS area. There are several Python scripts that talk to GitHub demonstrated there. Probably JavaScript as well. For performance reasons, also look into caching that data so that you don't have to query github.com every time the page refreshes. Should be safe to cache your data for an hour or even 24 hours.
6th Oct 2024, 8:27 PM
Jerry Hobby
Jerry Hobby - avatar
+ 1
there is an API problem on the other side
6th Oct 2024, 7:46 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 1
feel free to use the search form, similar questions were asked more times
6th Oct 2024, 7:47 PM
Mihaly Nyilas
Mihaly Nyilas - avatar