{"action":"created","issue":{"url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/455","labels_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/455/comments","events_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/455/events","html_url":"https://github.com/sigmavirus24/github3.py/issues/455","id":114275687,"number":455,"title":"Add API call for private repositories","user":{"login":"danpalmer","id":202400,"avatar_url":"https://avatars.githubusercontent.com/u/202400?v=3","gravatar_id":"","url":"https://api.github.com/users/danpalmer","html_url":"https://github.com/danpalmer","followers_url":"https://api.github.com/users/danpalmer/followers","following_url":"https://api.github.com/users/danpalmer/following{/other_user}","gists_url":"https://api.github.com/users/danpalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/danpalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpalmer/subscriptions","organizations_url":"https://api.github.com/users/danpalmer/orgs","repos_url":"https://api.github.com/users/danpalmer/repos","events_url":"https://api.github.com/users/danpalmer/events{/privacy}","received_events_url":"https://api.github.com/users/danpalmer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-30T14:02:44Z","updated_at":"2015-10-30T14:08:23Z","closed_at":"2015-10-30T14:08:23Z","body":"There appears to be no mechanism for getting private repositories, please correct me if I'm wrong.\r\n\r\nIt would be useful to implement this: https://developer.github.com/v3/repos/#list-your-repositories\r\n\r\n**Edit**: I am currently using version 1.0.0a2."},"comment":{"url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/comments/152536179","html_url":"https://github.com/sigmavirus24/github3.py/issues/455#issuecomment-152536179","issue_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/455","id":152536179,"user":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T14:08:23Z","updated_at":"2015-10-30T14:08:23Z","body":"If you look closely at the documentation for [`GitHub#repositories`](https://github3.readthedocs.org/en/develop/github.html#github3.github.GitHub.repositories) you'll see that you can pass a string to `type` to get private repositories. The endpoint is the same but our default behaviour matches that of the API's at the time the method was written. You can see that if you don't specifically specify it [we do not force a default and instead allow the API to return what it wishes](https://github.com/sigmavirus24/github3.py/blob/develop/github3/github.py#L1005). If you're not specifying a default and the API is returning only public repositories, you need to file an issue with GitHub support."}}