{"action":"created","issue":{"url":"https://api.github.com/repos/dondi/GRNsight/issues/697","repository_url":"https://api.github.com/repos/dondi/GRNsight","labels_url":"https://api.github.com/repos/dondi/GRNsight/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/dondi/GRNsight/issues/697/comments","events_url":"https://api.github.com/repos/dondi/GRNsight/issues/697/events","html_url":"https://github.com/dondi/GRNsight/issues/697","id":376565092,"node_id":"MDU6SXNzdWUzNzY1NjUwOTI=","number":697,"title":"Review API for NCBI Gene","user":{"login":"kdahlquist","id":6463867,"node_id":"MDQ6VXNlcjY0NjM4Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/6463867?v=4","gravatar_id":"","url":"https://api.github.com/users/kdahlquist","html_url":"https://github.com/kdahlquist","followers_url":"https://api.github.com/users/kdahlquist/followers","following_url":"https://api.github.com/users/kdahlquist/following{/other_user}","gists_url":"https://api.github.com/users/kdahlquist/gists{/gist_id}","starred_url":"https://api.github.com/users/kdahlquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdahlquist/subscriptions","organizations_url":"https://api.github.com/users/kdahlquist/orgs","repos_url":"https://api.github.com/users/kdahlquist/repos","events_url":"https://api.github.com/users/kdahlquist/events{/privacy}","received_events_url":"https://api.github.com/users/kdahlquist/received_events","type":"User","site_admin":false},"labels":[{"id":106515456,"node_id":"MDU6TGFiZWwxMDY1MTU0NTY=","url":"https://api.github.com/repos/dondi/GRNsight/labels/functionality","name":"functionality","color":"0052cc","default":false},{"id":113054221,"node_id":"MDU6TGFiZWwxMTMwNTQyMjE=","url":"https://api.github.com/repos/dondi/GRNsight/labels/priority%200.5","name":"priority 0.5","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":{"login":"dondi","id":382242,"node_id":"MDQ6VXNlcjM4MjI0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/382242?v=4","gravatar_id":"","url":"https://api.github.com/users/dondi","html_url":"https://github.com/dondi","followers_url":"https://api.github.com/users/dondi/followers","following_url":"https://api.github.com/users/dondi/following{/other_user}","gists_url":"https://api.github.com/users/dondi/gists{/gist_id}","starred_url":"https://api.github.com/users/dondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dondi/subscriptions","organizations_url":"https://api.github.com/users/dondi/orgs","repos_url":"https://api.github.com/users/dondi/repos","events_url":"https://api.github.com/users/dondi/events{/privacy}","received_events_url":"https://api.github.com/users/dondi/received_events","type":"User","site_admin":false},"assignees":[{"login":"dondi","id":382242,"node_id":"MDQ6VXNlcjM4MjI0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/382242?v=4","gravatar_id":"","url":"https://api.github.com/users/dondi","html_url":"https://github.com/dondi","followers_url":"https://api.github.com/users/dondi/followers","following_url":"https://api.github.com/users/dondi/following{/other_user}","gists_url":"https://api.github.com/users/dondi/gists{/gist_id}","starred_url":"https://api.github.com/users/dondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dondi/subscriptions","organizations_url":"https://api.github.com/users/dondi/orgs","repos_url":"https://api.github.com/users/dondi/repos","events_url":"https://api.github.com/users/dondi/events{/privacy}","received_events_url":"https://api.github.com/users/dondi/received_events","type":"User","site_admin":false},{"login":"johnllopez616","id":21348600,"node_id":"MDQ6VXNlcjIxMzQ4NjAw","avatar_url":"https://avatars3.githubusercontent.com/u/21348600?v=4","gravatar_id":"","url":"https://api.github.com/users/johnllopez616","html_url":"https://github.com/johnllopez616","followers_url":"https://api.github.com/users/johnllopez616/followers","following_url":"https://api.github.com/users/johnllopez616/following{/other_user}","gists_url":"https://api.github.com/users/johnllopez616/gists{/gist_id}","starred_url":"https://api.github.com/users/johnllopez616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnllopez616/subscriptions","organizations_url":"https://api.github.com/users/johnllopez616/orgs","repos_url":"https://api.github.com/users/johnllopez616/repos","events_url":"https://api.github.com/users/johnllopez616/events{/privacy}","received_events_url":"https://api.github.com/users/johnllopez616/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-01T20:49:39Z","updated_at":"2018-11-08T22:03:58Z","closed_at":null,"author_association":"COLLABORATOR","body":"TODO: Review API query for NCBI Gene"},"comment":{"url":"https://api.github.com/repos/dondi/GRNsight/issues/comments/437172574","html_url":"https://github.com/dondi/GRNsight/issues/697#issuecomment-437172574","issue_url":"https://api.github.com/repos/dondi/GRNsight/issues/697","id":437172574,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzE3MjU3NA==","user":{"login":"johnllopez616","id":21348600,"node_id":"MDQ6VXNlcjIxMzQ4NjAw","avatar_url":"https://avatars3.githubusercontent.com/u/21348600?v=4","gravatar_id":"","url":"https://api.github.com/users/johnllopez616","html_url":"https://github.com/johnllopez616","followers_url":"https://api.github.com/users/johnllopez616/followers","following_url":"https://api.github.com/users/johnllopez616/following{/other_user}","gists_url":"https://api.github.com/users/johnllopez616/gists{/gist_id}","starred_url":"https://api.github.com/users/johnllopez616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnllopez616/subscriptions","organizations_url":"https://api.github.com/users/johnllopez616/orgs","repos_url":"https://api.github.com/users/johnllopez616/repos","events_url":"https://api.github.com/users/johnllopez616/events{/privacy}","received_events_url":"https://api.github.com/users/johnllopez616/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T22:03:58Z","updated_at":"2018-11-08T22:03:58Z","author_association":"COLLABORATOR","body":"```\r\nlet getNCBIInfo = function (geneSymbol) {\r\n    return $.get({\r\n        url: serviceRoot + \"/ncbi/entrez/eutils/esearch.fcgi\",\r\n        data: {\r\n            db: \"gene\",\r\n            term: geneSymbol + \"[gene]+Saccharomyces+cerevisiae[Organism]\",\r\n        },\r\n        dataType: \"text\",\r\n        timeout: 5000,\r\n    }).then(function (data) {\r\n        const regex = /<Id>(\\d*)<\\/Id>/gm;\r\n        const id = regex.exec(data)[1];\r\n        return $.get({\r\n            url: serviceRoot + \"/ncbi/entrez/eutils/esummary.fcgi?db=gene&id=\" + id,\r\n            dataType: \"xml\",\r\n            timeout: 5000,\r\n        });\r\n    });\r\n};\r\n\r\n```"}}
{"actor":{"display_login":"johnllopez616"}}