{"action":"created","issue":{"url":"https://api.github.com/repos/cscheid/rgithub/issues/51","labels_url":"https://api.github.com/repos/cscheid/rgithub/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/cscheid/rgithub/issues/51/comments","events_url":"https://api.github.com/repos/cscheid/rgithub/issues/51/events","html_url":"https://github.com/cscheid/rgithub/issues/51","id":99310613,"number":51,"title":"Differences between rgithub and octokit.rb?","user":{"login":"aronlindberg","id":1494523,"avatar_url":"https://avatars.githubusercontent.com/u/1494523?v=3","gravatar_id":"","url":"https://api.github.com/users/aronlindberg","html_url":"https://github.com/aronlindberg","followers_url":"https://api.github.com/users/aronlindberg/followers","following_url":"https://api.github.com/users/aronlindberg/following{/other_user}","gists_url":"https://api.github.com/users/aronlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aronlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronlindberg/subscriptions","organizations_url":"https://api.github.com/users/aronlindberg/orgs","repos_url":"https://api.github.com/users/aronlindberg/repos","events_url":"https://api.github.com/users/aronlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/aronlindberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cscheid/rgithub/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"cscheid","id":285675,"avatar_url":"https://avatars.githubusercontent.com/u/285675?v=3","gravatar_id":"","url":"https://api.github.com/users/cscheid","html_url":"https://github.com/cscheid","followers_url":"https://api.github.com/users/cscheid/followers","following_url":"https://api.github.com/users/cscheid/following{/other_user}","gists_url":"https://api.github.com/users/cscheid/gists{/gist_id}","starred_url":"https://api.github.com/users/cscheid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cscheid/subscriptions","organizations_url":"https://api.github.com/users/cscheid/orgs","repos_url":"https://api.github.com/users/cscheid/repos","events_url":"https://api.github.com/users/cscheid/events{/privacy}","received_events_url":"https://api.github.com/users/cscheid/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-05T22:15:03Z","updated_at":"2015-08-10T16:26:14Z","closed_at":"2015-08-06T20:57:39Z","body":"I have a question about the rgithub functionality. Using ruby and octokit.rb I can do things like the following:\r\n\r\n    client = Octokit::Client.new :login => 'username', :password => 'password'\r\n    pull = client.pull_request(repo, number)\r\n    output = [pull.merged_at, pull.additions, pull.deletions, pull.commits, pull.changed_files]\r\n\r\nMeaning that I can directly extract different fields from the JSON that I pull down using the API library. Is something similar possible using rgithub? Whenever I try to extract specific data from the output I end up using either something using `grepl()` or very complex subsetting of lists e.g. `output[[1]][2]$'filename'[[1]][1]` etc."},"comment":{"url":"https://api.github.com/repos/cscheid/rgithub/issues/comments/129517199","html_url":"https://github.com/cscheid/rgithub/issues/51#issuecomment-129517199","issue_url":"https://api.github.com/repos/cscheid/rgithub/issues/51","id":129517199,"user":{"login":"aronlindberg","id":1494523,"avatar_url":"https://avatars.githubusercontent.com/u/1494523?v=3","gravatar_id":"","url":"https://api.github.com/users/aronlindberg","html_url":"https://github.com/aronlindberg","followers_url":"https://api.github.com/users/aronlindberg/followers","following_url":"https://api.github.com/users/aronlindberg/following{/other_user}","gists_url":"https://api.github.com/users/aronlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aronlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronlindberg/subscriptions","organizations_url":"https://api.github.com/users/aronlindberg/orgs","repos_url":"https://api.github.com/users/aronlindberg/repos","events_url":"https://api.github.com/users/aronlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/aronlindberg/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T16:26:14Z","updated_at":"2015-08-10T16:26:14Z","body":"Thanks again!"}}