{"action":"created","issue":{"url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/issues/3","repository_url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net","labels_url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/issues/3/comments","events_url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/issues/3/events","html_url":"https://github.com/TwilightCoders/TwilightCoders.net/issues/3","id":309927628,"number":3,"title":"Pull info from GitHub using GraphQL (v4) API","user":{"login":"JimmayVV","id":8206925,"avatar_url":"https://avatars0.githubusercontent.com/u/8206925?v=4","gravatar_id":"","url":"https://api.github.com/users/JimmayVV","html_url":"https://github.com/JimmayVV","followers_url":"https://api.github.com/users/JimmayVV/followers","following_url":"https://api.github.com/users/JimmayVV/following{/other_user}","gists_url":"https://api.github.com/users/JimmayVV/gists{/gist_id}","starred_url":"https://api.github.com/users/JimmayVV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimmayVV/subscriptions","organizations_url":"https://api.github.com/users/JimmayVV/orgs","repos_url":"https://api.github.com/users/JimmayVV/repos","events_url":"https://api.github.com/users/JimmayVV/events{/privacy}","received_events_url":"https://api.github.com/users/JimmayVV/received_events","type":"User","site_admin":false},"labels":[{"id":877438601,"url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"JimmayVV","id":8206925,"avatar_url":"https://avatars0.githubusercontent.com/u/8206925?v=4","gravatar_id":"","url":"https://api.github.com/users/JimmayVV","html_url":"https://github.com/JimmayVV","followers_url":"https://api.github.com/users/JimmayVV/followers","following_url":"https://api.github.com/users/JimmayVV/following{/other_user}","gists_url":"https://api.github.com/users/JimmayVV/gists{/gist_id}","starred_url":"https://api.github.com/users/JimmayVV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimmayVV/subscriptions","organizations_url":"https://api.github.com/users/JimmayVV/orgs","repos_url":"https://api.github.com/users/JimmayVV/repos","events_url":"https://api.github.com/users/JimmayVV/events{/privacy}","received_events_url":"https://api.github.com/users/JimmayVV/received_events","type":"User","site_admin":false},"assignees":[{"login":"JimmayVV","id":8206925,"avatar_url":"https://avatars0.githubusercontent.com/u/8206925?v=4","gravatar_id":"","url":"https://api.github.com/users/JimmayVV","html_url":"https://github.com/JimmayVV","followers_url":"https://api.github.com/users/JimmayVV/followers","following_url":"https://api.github.com/users/JimmayVV/following{/other_user}","gists_url":"https://api.github.com/users/JimmayVV/gists{/gist_id}","starred_url":"https://api.github.com/users/JimmayVV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimmayVV/subscriptions","organizations_url":"https://api.github.com/users/JimmayVV/orgs","repos_url":"https://api.github.com/users/JimmayVV/repos","events_url":"https://api.github.com/users/JimmayVV/events{/privacy}","received_events_url":"https://api.github.com/users/JimmayVV/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-29T22:49:25Z","updated_at":"2018-04-09T16:41:28Z","closed_at":null,"author_association":"MEMBER","body":"Use v4 (GraphQL) of the GitHub API to pull repo data with.\r\n\r\nExample of a query to use:\r\n\r\n```\r\n{\r\n  repo1: repository(owner: \"TwilightCoders\", name: \"TwilightCoders.net\") {\r\n    ...repoInfo\r\n  }\r\n  repo2: repository(owner: \"TwilightCoders\", name: \"Card-Games\") {\r\n    ...repoInfo\r\n  }\r\n}\r\n\r\nfragment repoInfo on Repository {\r\n  name\r\n  id\r\n  homepageUrl\r\n  description\r\n  url\r\n  readme: object(expression: \"master:README.md\") {\r\n    ... on Blob {\r\n      text\r\n    }\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/issues/comments/379816432","html_url":"https://github.com/TwilightCoders/TwilightCoders.net/issues/3#issuecomment-379816432","issue_url":"https://api.github.com/repos/TwilightCoders/TwilightCoders.net/issues/3","id":379816432,"user":{"login":"JimmayVV","id":8206925,"avatar_url":"https://avatars0.githubusercontent.com/u/8206925?v=4","gravatar_id":"","url":"https://api.github.com/users/JimmayVV","html_url":"https://github.com/JimmayVV","followers_url":"https://api.github.com/users/JimmayVV/followers","following_url":"https://api.github.com/users/JimmayVV/following{/other_user}","gists_url":"https://api.github.com/users/JimmayVV/gists{/gist_id}","starred_url":"https://api.github.com/users/JimmayVV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimmayVV/subscriptions","organizations_url":"https://api.github.com/users/JimmayVV/orgs","repos_url":"https://api.github.com/users/JimmayVV/repos","events_url":"https://api.github.com/users/JimmayVV/events{/privacy}","received_events_url":"https://api.github.com/users/JimmayVV/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T16:41:28Z","updated_at":"2018-04-09T16:41:28Z","author_association":"MEMBER","body":"Query & Fragments:\r\n\r\n```\r\nquery GetRepos($jimmy:[ID!]!){\r\n  repos: nodes(ids:$jimmy){\r\n    ... on Repository {\r\n      ...projectDetails_project\r\n    }\r\n  }\r\n  \r\n  bio: user(login:\"JimmayVV\") {\r\n    ...bio_bio\r\n  }\r\n}\r\n\r\nfragment projectDetails_project on Repository {\r\n  name\r\n  id\r\n  homepageUrl\r\n  description\r\n  url\r\n  readme: object(expression: \"master:README.md\") {\r\n    ... on Blob {\r\n      text\r\n    }\r\n  }\r\n}\r\n\r\nfragment bio_bio on User {\r\n  name\r\n  bio\r\n}\r\n```\r\n\r\nVariables:\r\n\r\n```\r\n{\r\n  \"jimmy\": [\r\n    \"MDEwOlJlcG9zaXRvcnk4MTQ4MTI0Mg==\",\r\n    \"MDEwOlJlcG9zaXRvcnk3NDA5ODIyNw==\",\r\n    \"MDEwOlJlcG9zaXRvcnkxMjY0MDMzMDM=\"\r\n  ]\r\n}\r\n```"}}
{"actor":{"display_login":"JimmayVV"}}