Skip to content

Commit 124d9cb

Browse files
committed
github readme
1 parent 0cc5c80 commit 124d9cb

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

github/ReadMe.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,43 @@
11
# github
22
###githubFollowXXList 模块:
33

4+
- ```
5+
count(Tag):
46
```
7+
8+
**Tag**:传入一个tag对象例如![Tag](http://github.com/Yangzhedi/pythonSpider/github/imgs/tag.png)
9+
然后返回此tag下的人数,(出现k时候会有误差)
10+
11+
方法返回获取当前tag下的人数
12+
13+
- ```
514
get_follow_counts_pages(url,person,boo):
615
```
716

8-
**url**就是github的网址:'https://github.com/'
17+
**url**就是github的网址:'https://github.com/'
918

10-
**person**是想要获取用户的username;
19+
**person**是想要获取用户的username;
1120

12-
**boo**是一个布尔值,若是真,则获取following,若是假,则获取followers
21+
**boo**是一个布尔值,若是真,则获取following,若是假,则获取followers
1322

14-
可以获取当前人物的获取following或者followers的页数
23+
方法返回获取当前人物的获取following或者followers的页数
1524

16-
```
25+
26+
27+
- ```
1728
get_follow_lists(url,person,boo,pages):
1829
```
1930

20-
**url**, **person** ,**boo**和上一个方法一样,**pages**是指想获取第几页的following或者followers的列表
31+
**url**, **person** ,**boo**和上一个方法一样,
32+
**pages**是指想获取第几页的following或者followers的列表
2133

22-
方法返回当前page的following或者followers的列表,结合*get_follow_counts_pages*结合可以获取所以的following或者followers的列表
34+
方法返回当前page的following或者followers的列表,结合*get_follow_counts_pages*结合可以获取所有page的following或者followers的列表
2335

2436

2537
###githubUserInfo 模块:
2638

27-
```
39+
- ```
2840
get_user_info(url,person):
2941
```
30-
获取用户的全称,介绍,项目个数,关注人数,粉丝人数,送出多少star,
31-
32-
并返回一个字典,包含这些信息
42+
返回一个字典:包含用户的全称,个人介绍,项目个数,关注人数,粉丝人数,共送出多少star,
43+

0 commit comments

Comments
 (0)