DEV Community

Sadisha Nimsara
Sadisha Nimsara

Posted on • Originally published at Medium on

Get pinned GitHub repositories as JSON

JSON
I saw a lot of people asking about how they can get pinned GitHub repositories as a JSON response. This can be done with GraphQL, but some of them are asking for a rest API solution. Fortunately, I found a solution for them.

Visit this site:

There you have your JSON response. Or else, you can just replace your Username in the following URL.

https://gh-pinned-repos-5l2i19um3.vercel.app/?username=Username
Enter fullscreen mode Exit fullscreen mode

This program was originally developed by @egoist.

For contributors: Source code

Top comments (4)

Collapse
 
nacariored profile image
Redmund Nacario

Thanks for this. Really helpful!

Collapse
 
mayrinkdotcom profile image
João Pedro Mayrink

I guess this endpoint might not be available anymore :p I've used it many months ago, but now it's not working anymore, and the same is happening with the website.

Collapse
 
niklasbuse profile image
Niklas Buse

Hey, I found, that the URL is changed since 18th January to "gh-pinned-repos.egoist.sh/?usernam..."

Collapse
 
sahibul_nf profile image
Sahibul Nuzul Firdaus

Thank you, it works 🚀