Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0030c3

Browse files
committed
Remove legacy search API from github3 namespace
1 parent98c2a4a commita0030c3

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

‎github3/api.py

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -353,53 +353,6 @@ def repository(owner, repository):
353353
repository.__doc__=gh.repository.__doc__
354354

355355

356-
defsearch_issues(owner,repo,state,keyword):
357-
"""Find issues by state and keyword.
358-
359-
:param str owner: (required)
360-
:param str repo: (required)
361-
:param str state: (required), accepted values: ('open', 'closed')
362-
:param str keyword: (required), what to search for
363-
:param int start_page: (optional), page to get (results come 100/page)
364-
:returns: list of :class:`LegacyIssue <github3.legacy.LegacyIssue>`
365-
366-
"""
367-
returngh.search_issues(owner,repo,state,keyword)
368-
369-
370-
defsearch_repos(keyword,**params):
371-
"""Search all repositories by keyword.
372-
373-
:param str keyword: (required)
374-
:param str language: (optional), language to filter by
375-
:param int start_page: (optional), page to get (results come 100/page)
376-
:returns: list of :class:`LegacyRepo <github3.legacy.LegacyRepo>`
377-
378-
"""
379-
returngh.search_repos(keyword,**params)
380-
381-
382-
defsearch_users(keyword):
383-
"""Search all users by keyword.
384-
385-
:param str keyword: (required)
386-
:param int start_page: (optional), page to get (results come 100/page)
387-
:returns: list of :class:`LegacyUser <github3.legacy.LegacyUser>`
388-
389-
"""
390-
returngh.search_users(keyword)
391-
392-
393-
defsearch_email(email):
394-
"""Search users by email.
395-
396-
:param str email: (required)
397-
:returns: :class:`LegacyUser <github3.legacy.LegacyUser>`
398-
399-
"""
400-
returngh.search_email(email)
401-
402-
403356
defuser(login):
404357
returngh.user(login)
405358
user.__doc__=gh.user.__doc__

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp