{"action":"created","issue":{"url":"https://api.github.com/repos/chentsulin/awesome-graphql/issues/216","repository_url":"https://api.github.com/repos/chentsulin/awesome-graphql","labels_url":"https://api.github.com/repos/chentsulin/awesome-graphql/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/chentsulin/awesome-graphql/issues/216/comments","events_url":"https://api.github.com/repos/chentsulin/awesome-graphql/issues/216/events","html_url":"https://github.com/chentsulin/awesome-graphql/pull/216","id":231937904,"number":216,"title":"add graphql client","user":{"login":"f","id":196477,"avatar_url":"https://avatars1.githubusercontent.com/u/196477?v=3","gravatar_id":"","url":"https://api.github.com/users/f","html_url":"https://github.com/f","followers_url":"https://api.github.com/users/f/followers","following_url":"https://api.github.com/users/f/following{/other_user}","gists_url":"https://api.github.com/users/f/gists{/gist_id}","starred_url":"https://api.github.com/users/f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f/subscriptions","organizations_url":"https://api.github.com/users/f/orgs","repos_url":"https://api.github.com/users/f/repos","events_url":"https://api.github.com/users/f/events{/privacy}","received_events_url":"https://api.github.com/users/f/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-29T06:35:39Z","updated_at":"2017-05-29T07:52:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chentsulin/awesome-graphql/pulls/216","html_url":"https://github.com/chentsulin/awesome-graphql/pull/216","diff_url":"https://github.com/chentsulin/awesome-graphql/pull/216.diff","patch_url":"https://github.com/chentsulin/awesome-graphql/pull/216.patch"},"body":"https://github.com/f/graphql.js\r\n\r\nMany libraries require complex stacks to make that simple request. In any project you don't use React, Relay, you'll need a simpler client which manages your query and makes a simple request. \r\n\r\n```js\r\n// Connect...\r\nvar graph = graphql(\"/graphql\")\r\n\r\n// Prepare...\r\nvar allUsers = graph(`query { allUsers {id, name} }`)\r\n\r\n// Run...\r\nallUsers().then(function (users) {\r\n  console.log(users)\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/chentsulin/awesome-graphql/issues/comments/304596746","html_url":"https://github.com/chentsulin/awesome-graphql/pull/216#issuecomment-304596746","issue_url":"https://api.github.com/repos/chentsulin/awesome-graphql/issues/216","id":304596746,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars0.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2017-05-29T07:52:16Z","updated_at":"2017-05-29T07:52:16Z","body":"Cool! Sweet username, by the way."}}
{"actor":{"display_login":"stubailo"}}