Skip to content

Commit d3876f0

Browse files
committed
Added issue searching example.
1 parent 04eaca4 commit d3876f0

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ List a Projects Issues
106106
>>> github.issues.list("ask/chishop", state="open")
107107
>>> github.issues.list("ask/chishop", state="closed")
108108

109+
Search a Projects Issues
110+
------------------------
111+
112+
>>> issues = github.issues.search("ask/chishop", "version twice")
113+
>>> issues[0].title
114+
'Upload hangs on attempted second file.'
115+
116+
>>> github.issues.search("ask/chishop", term="authorization",
117+
... state="closed")
118+
109119
View an Issue
110120
-------------
111121

0 commit comments

Comments
 (0)