Title: To access Github private ropositories in rhomobile
Tags: json;rhomobile;github-api
Question: I am trying to access and list GitHub private repositories for logged in user via Github API.While i managed to list public,forked and watched repositories ,i dont know how to use access token getting private repositories list.
I am trying improve my Github client using Rhomobile.


Here is another answer: Making a GET request to https://api.github.com/user/repos will get you both the public and private repositories for the currently authenticated user.
The documentation is available here.
Comment for this answer: Kevin, As of today, the API only returns 'public' repositories for a user. Private repositories can only be fetched for orgs.
Comment for this answer: Sorry, I was wrong. There are two ways of getting a user's repos. One heading says: "your repos" and another "a user's repo". I was wrongly using the second. Thanks Kevin. Your solution worked for me.

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2012:00:03/06/12', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<json><rhomobile><github-api>', 'Title': 'To access Github private ropositories in rhomobile', 'ViewCount': 72, 'id': 9580622, 'user_AboutMe': '', 'user_AccountId': 1069090.0, 'user_DisplayName': 'visnu', 'user_Reputation': 935.0, 'user_Views': 83.0, 'user_id': 1068797.0}}