thefron / SNA_Proj

2 stars 2 forks source link

repo 정보 가져오기 #7

Open sgkim126 opened 8 years ago

sgkim126 commented 8 years ago
  1. ga_crawler로 긁은 정보를 기반으로 active repo 리스트 가져오기.
  2. repo 정보 가져오기.
    • 리포가 사용하는 언어
    • 그리고 뭐가 있지?
kcm1700 commented 8 years ago

이거 제가 시도해봅니다.

sgkim126 commented 8 years ago

6 에서 말한거랑 비슷한 방식으로 처리하면 될 것 같은데

repo에서 수집할 정보가 뭐뭐 있을까?

sgkim126 commented 8 years ago

일단 https://api.github.com/repos/thefron/SNA_Proj/languages 를 통해서 language 가지고 와야할 것 같고 https://api.github.com/repos/thefron/SNA_Proj/forks 포크한 사람 id https://api.github.com/repos/thefron/SNA_Proj/stargazers star한 사람 id https://api.github.com/repos/thefron/SNA_Proj/subscribers subscribe한 사람 id 가지고 오면 되나?

sgkim126 commented 8 years ago

가능하면 https://api.github.com/repos/thefron/SNA_Proj/contributors 이것도 가지고 오고 싶은데 이건 너무 많으려나

sgkim126 commented 8 years ago

위의 것들 전부 한 페이지에 30명씩만 가지고 오니까, https://api.github.com/repos/thefron/SNA_Proj/forks?page=2 이런 식으로 여러 번 호출해야 할듯.

kcm1700 commented 8 years ago

일단 돌리면서 테스트하고 있는데, 리포지터리 뭘 긁어올지 후보를 줄이고 다시 돌려야 할 거 같아요. 그리고 contributors는 리포지터리에 따라 제대로 결과가 안 나오기도 하네요. 또 stargazers는 너무 쓸데없이 많은 프로젝트들이 있어서 빼버리고 싶어요.