|
43 | 43 | "api = GhApi()" |
44 | 44 | ] |
45 | 45 | }, |
46 | | - { |
47 | | - "cell_type": "code", |
48 | | - "execution_count": null, |
49 | | - "metadata": {}, |
50 | | - "outputs": [], |
51 | | - "source": [ |
52 | | - "# TODO only new events" |
53 | | - ] |
54 | | - }, |
55 | 46 | { |
56 | 47 | "cell_type": "code", |
57 | 48 | "execution_count": null, |
|
98 | 89 | ] |
99 | 90 | }, |
100 | 91 | { |
101 | | - "cell_type": "code", |
102 | | - "execution_count": null, |
| 92 | + "cell_type": "markdown", |
103 | 93 | "metadata": {}, |
104 | | - "outputs": [ |
105 | | - { |
106 | | - "data": { |
107 | | - "text/plain": [ |
108 | | - "(240, 'fastai')" |
109 | | - ] |
110 | | - }, |
111 | | - "execution_count": null, |
112 | | - "metadata": {}, |
113 | | - "output_type": "execute_result" |
114 | | - } |
115 | | - ], |
116 | 94 | "source": [ |
117 | | - "ev = api.list_events_parallel(org='fastai')\n", |
118 | | - "len(ev),ev[0].org.login" |
| 95 | + "`list_events` and `list_events_parallel` support the following:\n", |
| 96 | + "\n", |
| 97 | + "|Events from|Example|\n", |
| 98 | + "|:-|:-|\n", |
| 99 | + "|Organization|`api.list_events_parallel(org='fastai')`\n", |
| 100 | + "|User|`api.list_events_parallel(username='jph00')`\n", |
| 101 | + "|Repository network|`api.list_events_parallel(owner='fastai', repo='fastcore')`\n", |
| 102 | + "|All public|`api.list_events_parallel()`" |
119 | 103 | ] |
120 | 104 | }, |
121 | 105 | { |
|
142 | 126 | "cell_type": "code", |
143 | 127 | "execution_count": null, |
144 | 128 | "metadata": {}, |
145 | | - "outputs": [ |
146 | | - { |
147 | | - "name": "stdout", |
148 | | - "output_type": "stream", |
149 | | - "text": [ |
150 | | - "\n", |
151 | | - "*** 60\n", |
152 | | - "14505512015 14505511995 14505511993 14505511981 14505511975 14505511976 14505511971 14505511970 14505511968 14505511963 14505511921 14505511920 14505511889 \n", |
153 | | - "*** 28\n", |
154 | | - "14505512077 14505512069 14505512063 14505512061 14505512053 14505512051 14505512048 14505512040 14505512034 \n", |
155 | | - "*** 38\n", |
156 | | - "14505512248 14505512218 14505512215 14505512210 14505512198 14505512092 \n", |
157 | | - "*** 41\n", |
158 | | - "14505512340 14505512326 14505512325 14505512314 14505512313 14505512315 14505512311 14505512304 14505512307 14505512289 14505512277 14505512271 14505512261 14505512257 \n", |
159 | | - "*** 43\n", |
160 | | - "14505512456 14505512454 14505512450 14505512445 14505512429 14505512427 14505512408 14505512403 14505512395 14505512380 14505512366 14505512362 14505512355 14505512353 \n", |
161 | | - "*** 32\n", |
162 | | - "14505512515 14505512505 14505512504 14505512495 14505512486 14505512477 14505512458 \n", |
163 | | - "*** 38\n", |
164 | | - "14505512598 14505512600 14505512582 14505512566 14505512558 14505512549 14505512538 14505512530 14505512523 \n", |
165 | | - "*** 60\n", |
166 | | - "14505512763 14505512761 14505512740 14505512727 14505512723 14505512720 14505512716 14505512712 14505512709 14505512705 14505512701 14505512688 14505512679 14505512668 14505512669 14505512666 14505512655 \n", |
167 | | - "*** 42\n", |
168 | | - "14505512843 14505512838 14505512841 14505512839 14505512835 14505512833 14505512831 14505512809 14505512811 14505512803 14505512800 " |
169 | | - ] |
170 | | - } |
171 | | - ], |
| 129 | + "outputs": [], |
172 | 130 | "source": [ |
173 | 131 | "for o in islice(fetch_events('PullRequestEvent'), 100): print(o.id, end=' ')" |
174 | 132 | ] |
|
228 | 186 | "Converted 00_core.ipynb.\n", |
229 | 187 | "Converted 01_actions.ipynb.\n", |
230 | 188 | "Converted 02_auth.ipynb.\n", |
| 189 | + "Converted 03_page.ipynb.\n", |
| 190 | + "Converted 04_event.ipynb.\n", |
231 | 191 | "Converted 10_cli.ipynb.\n", |
232 | 192 | "Converted 50_fullapi.ipynb.\n", |
| 193 | + "Converted 80_tutorial_actions.ipynb.\n", |
233 | 194 | "Converted 90_build_lib.ipynb.\n", |
234 | | - "Converted Untitled.ipynb.\n", |
235 | | - "Converted index.ipynb.\n", |
236 | | - "Converted tutorial_actions.ipynb.\n" |
| 195 | + "Converted index.ipynb.\n" |
237 | 196 | ] |
238 | 197 | } |
239 | 198 | ], |
|
0 commit comments