-
github ์ repo๋ฅผ ๊ฒ์ํ๋ ์๋์ ๊ฐ์ ์กฐ๊ฑด์ ํด๋นํ๋ repository๋ฅผ ์ฐพ๋ ํ์ด์ฌ ์คํฌ๋ฆฝํธ ์ ๋๋ค.
- topic ์ด '์ง์ ํ ํ ํฝ' ์ด๊ณ (and)
- created_at ์ด '์ง์ ํ ๋ฒ์' ๋ด์ ์๊ณ (and)
- ์ฐพ์ repository > user ์ location ์ด '์ง์ ํ ์ง์ญ' ์ผ๋
-
github ์์ 'ํ ํฝ' ๊ณผ '์ง์ญ' ์ and ์กฐ๊ฑด์ผ๋ก ๊ฒ์์ด ์๋์ด ๋ง๋ค๊ฒ ๋์์ต๋๋ค.
-
github api ํธ์ถ ์ ํ์ด ์๊ธฐ ๋๋ฌธ์ ์ ๋นํ ํธ์ถํด์ผ ํฉ๋๋ค.
-
hacktoberfest๋ฅผ ์งํํ๋ค ๊ฒ์์ ์ด๋ ค์์ด ์์ด ๋ง๋ค๊ฒ ๋์์ต๋๋ค.
-
๋ฒ์ฉ์ ์ผ๋ก ๋ง๋ค๊ธฐ ์ํด 'ํ ํฝ', '๊ฒ์์ผ์', '์ง์ญ' ์ ํ๋ผ๋ฏธํฐ๋ก ๋ฐ์ต๋๋ค.
-
ํ์ํ ํจํค์ง ์ค์น ๋ฐฉ๋ฒ
์๋ ๋ช ๋ น์ด๋ฅผ ํตํด ํ์ํ ํจํค์ง๋ฅผ ๋ชจ๋ ์ค์นํ ์ ์์ต๋๋ค.
pip install -r requirements.txt
-
์ฌ์ฉ๋ฒ
- ํ๋ผ๋ฏธํฐ๋ฅผ ๋ฐ์ ์ฒ๋ฆฌ ๋ฉ๋๋ค.
$ python main.py github_id=taetaetae github_token=ASDFASDFASDF search base time : 2020-10-11, now time : 2020-10-11 17:59:22, page : 1, user_count : 30, total_count : 76 Found it! = createdat : 2020-10-11T08:08:05Z , repository : https://github.com/taetaetae/github-repo-searcher search base time : 2020-10-11, now time : 2020-10-11 17:59:52, page : 2, user_count : 30, total_count : 76 search base time : 2020-10-11, now time : 2020-10-11 18:00:22, page : 3, user_count : 16, total_count : 76 search base time : 2020-10-10, now time : 2020-10-11 18:00:46, page : 1, user_count : 30, total_count : 328 ...ํญ๋ชฉ ํ์์ฌ๋ถ ๋ด์ฉ ๊ธฐ๋ณธ๊ฐ github_id O github id ์์ github_token O Personal access tokens ์์ search_topic X ์ฐพ์ผ๋ ค๋ topic hacktoberfest search_month_range X ์ฐพ์ผ๋ ค๋ ๊ธฐ๊ฐ(์) 6 search_location X ์ฐพ์ผ๋ ค๋ ์ง์ญ Korea