5 Different Ways to Get Contributors through the GitHub API

9 views
Skip to first unread message

abdurrahman RAJAB

unread,
Jul 16, 2023, 5:49:35 PM7/16/23
to Java & OSS
Bu haftasonu GitHub denemeye istedim, güzel sonuçlar çıktı. 

Akif Eyler

unread,
Jul 17, 2023, 3:31:37 AM7/17/23
to java...@googlegroups.com
Neden beş yol? farkları nedir?

Octokit will be handy if you want to use the official GitHub package for the request.
ne avantaj sağlıyor?

__Akif Eyler__



On Mon, Jul 17, 2023 at 12:49  abdurrahman RAJAB 
Bu haftasonu GitHub denemeye istedim, güzel sonuçlar çıktı. 

.
 

Abdurrahman RAJAB

unread,
Jul 17, 2023, 6:14:33 PM7/17/23
to java...@googlegroups.com
Aslında temeline baksak tüm yöntemler fetch kullanıyor. 
 

Arasındakı fark çok basit: recursive, iterative, octokit request ve rest (onlar bir boilerplate olup metod içerisine alındı)
En son iterator kullanıldı: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators 
Bu ise async kod için verimli olur. 

ne avantaj sağlıyor?
Şuanda aklıma gelen tek şey boilerplate kurtarmak. Diğer özellikleri kullanmadım. 

From: java...@googlegroups.com <java...@googlegroups.com> on behalf of Akif Eyler <akif....@gmail.com>
Sent: 17 July 2023 10:31
To: java...@googlegroups.com <java...@googlegroups.com>
Subject: Re: 5 Different Ways to Get Contributors through the GitHub API
 
--
Java and open software -- 2004
---
Bu iletiyi Google Grupları'ndaki "Java & OSS" grubuna abone olduğunuz için aldınız.
Bu grubun aboneliğinden çıkmak ve bu gruptan artık e-posta almamak için java-oss+u...@googlegroups.com adresine e-posta gönderin.
Bu tartışmayı web'de görüntülemek için https://groups.google.com/d/msgid/java-oss/CAC5h89zKkYZ7_5L31SVSm6xPrBMqLrBSyvR0EH%2BwL_d3%2B6Kaow%40mail.gmail.com adresini ziyaret edin.
Reply all
Reply to author
Forward
0 new messages