forked from sigmavirus24/github3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit
More file actions
1 lines (1 loc) · 6.6 KB
/
commit
File metadata and controls
1 lines (1 loc) · 6.6 KB
1
{"files": [{"status": "modified", "deletions": 3, "raw_url": "https://github.com/sigmavirus24/github3.py/raw/76dcc6cb4b9860034be81b7e58adc286a115aa97/docs/api.rst", "blob_url": "https://github.com/sigmavirus24/github3.py/blob/76dcc6cb4b9860034be81b7e58adc286a115aa97/docs/api.rst", "changes": 58, "filename": "docs/api.rst", "sha": "79d48eb9753ef9280d445b25dfe99f6ae19a245c", "additions": 55, "patch": "@@ -37,6 +37,10 @@ Or you can simply use the following functions\n \n ------\n \n+.. autofunction:: github3.authorize\n+\n+------\n+\n .. autofunction:: github3.create_gist\n \n ------\n@@ -49,11 +53,39 @@ Or you can simply use the following functions\n \n ------\n \n-.. autofunction:: github3.list_events\n+.. autofunction:: github3.iter_events\n+\n+------\n+\n+.. autofunction:: github3.iter_followers\n+\n+------\n+\n+.. autofunction:: github3.iter_following\n+\n+------\n+\n+.. autofunction:: github3.iter_gists\n+\n+------\n+\n+.. autofunction:: github3.iter_orgs\n+\n+------\n+\n+.. autofunction:: github3.iter_repos\n+\n+------\n+\n+.. autofunction:: github3.iter_repo_issues\n \n ------\n \n-.. autofunction:: github3.list_gists\n+.. autofunction:: github3.iter_starred\n+\n+------\n+\n+.. autofunction:: github3.iter_subscriptions\n \n ------\n \n@@ -61,6 +93,26 @@ Or you can simply use the following functions\n \n ------\n \n+.. autofunction:: github3.octocat\n+\n+------\n+\n+.. autofunction:: github3.organization\n+\n+------\n+\n+.. autofunction:: github3.pull_request\n+\n+------\n+\n+.. autofunction:: github3.ratelimit_remaining\n+\n+------\n+\n+.. autofunction:: github3.repository\n+\n+------\n+\n .. autofunction:: github3.search_issues\n \n ------\n@@ -81,7 +133,7 @@ Or you can simply use the following functions\n \n ------\n \n-.. autofunction:: github3.ratelimit_remaining\n+.. autofunction:: github3.zen\n \n ------\n ", "contents_url": "https://api.github.com/repos/sigmavirus24/github3.py/contents/docs/api.rst?ref=76dcc6cb4b9860034be81b7e58adc286a115aa97"}, {"status": "modified", "deletions": 2, "raw_url": "https://github.com/sigmavirus24/github3.py/raw/76dcc6cb4b9860034be81b7e58adc286a115aa97/github3/api.py", "blob_url": "https://github.com/sigmavirus24/github3.py/blob/76dcc6cb4b9860034be81b7e58adc286a115aa97/github3/api.py", "changes": 14, "filename": "github3/api.py", "sha": "aedb345aa9772f8edf6140ad28e57242bd80e522", "additions": 12, "patch": "@@ -13,7 +13,17 @@\n \n \n def authorize(login, password, scopes, note='', note_url=''):\n- \"\"\"See :func:`authorize <github3.github.GitHub.authorize>`\"\"\"\n+ \"\"\"Obtain an authorization token from the GitHub API for the GitHub\n+ API.\n+\n+ :param str login: (required)\n+ :param str password: (required)\n+ :param list scopes: (required), areas you want this token to apply to,\n+ i.e., 'gist', 'user'\n+ :param str note: (optional), note about the authorization\n+ :param str note_url: (optional), url for the application\n+ :returns: :class:`Authorization <Authorization>`\n+ \"\"\"\n return gh.authorize(login, password, scopes, note, note_url)\n \n \n@@ -113,7 +123,7 @@ def iter_repo_issues(owner, repository, filter='', state='', labels='',\n \"\"\"\n if owner and repository:\n return gh.iter_repo_issues(owner, repository, filter, state, labels,\n- sort, direction, since, number)\n+ sort, direction, since, number)\n return iter([])\n \n ", "contents_url": "https://api.github.com/repos/sigmavirus24/github3.py/contents/github3/api.py?ref=76dcc6cb4b9860034be81b7e58adc286a115aa97"}], "committer": {"following_url": "https://api.github.com/users/sigmavirus24/following", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "stats": {"deletions": 5, "additions": 67, "total": 72}, "author": {"following_url": "https://api.github.com/users/sigmavirus24/following", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/commits/76dcc6cb4b9860034be81b7e58adc286a115aa97", "comments_url": "https://api.github.com/repos/sigmavirus24/github3.py/commits/76dcc6cb4b9860034be81b7e58adc286a115aa97/comments", "sha": "76dcc6cb4b9860034be81b7e58adc286a115aa97", "parents": [{"url": "https://api.github.com/repos/sigmavirus24/github3.py/commits/a811e1a270f65eecb65755eca38d888cbefcb0a7", "sha": "a811e1a270f65eecb65755eca38d888cbefcb0a7"}], "commit": {"committer": {"date": "2012-12-03T01:14:19Z", "email": "[email protected]", "name": "Ian Cordasco"}, "author": {"date": "2012-12-03T01:14:19Z", "email": "[email protected]", "name": "Ian Cordasco"}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/git/commits/76dcc6cb4b9860034be81b7e58adc286a115aa97", "tree": {"url": "https://api.github.com/repos/sigmavirus24/github3.py/git/trees/fdc53315b062f8e364460b2842116ddd52d6a6c6", "sha": "fdc53315b062f8e364460b2842116ddd52d6a6c6"}, "comment_count": 0, "message": "Fix docs"}}