{"id":2329,"date":"2021-05-14T17:41:00","date_gmt":"2021-05-14T08:41:00","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=2329"},"modified":"2021-03-08T22:41:59","modified_gmt":"2021-03-08T13:41:59","slug":"github-graphql%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92%e6%a4%9c%e7%b4%a2%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=2329","title":{"rendered":"GitHub GraphQL\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u691c\u7d22\u3059\u308b"},"content":{"rendered":"<p>Github\u306eGraphQL API\u3092\u4f7f\u7528\u3057\u3066Github\u3092\u691c\u7d22\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30ea\u30b9\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_94c60be3-e817-4106-81e9-0cb25ac287c9.png\" alt=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_94c60be3-e817-4106-81e9-0cb25ac287c9.png\"><\/p>\n<p>(GitHub GraphQL\u306e\u4f8b)<\/p>\n<pre><code>{\n  search(query: \"beef\", type: REPOSITORY, first: 10) {\n    repositoryCount\n    edges {\n      node {\n        ... on Repository {\n          name\n          description\n          stargazerCount\n          url\n          createdAt\n          updatedAt\n          primaryLanguage {\n            name\n          }\n        }\n      }\n    }\n  }\n}\n<\/code><\/pre>\n<p>(\u51fa\u529b\u4f8b)<\/p>\n<p>\u30af\u30a8\u30ea\u304b\u3089json\u30c7\u30fc\u30bf\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code>{\n  \"data\": {\n    \"search\": {\n      \"repositoryCount\": 1838,\n      \"edges\": [\n        {\n          \"node\": {\n            \"name\": \"beef\",\n            \"description\": \"The Browser Exploitation Framework Project\",\n            \"stargazerCount\": 5558,\n            \"url\": \"https:\/\/github.com\/beefproject\/beef\",\n            \"createdAt\": \"2011-11-23T06:53:25Z\",\n            \"updatedAt\": \"2021-03-07T16:56:54Z\",\n            \"primaryLanguage\": {\n              \"name\": \"JavaScript\"\n            }\n          }\n        },\n        {\n          \"node\": {\n            \"name\": \"BeeFramework\",\n            \"description\": \"[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML\/CSS\",\n            \"stargazerCount\": 3378,\n            \"url\": \"https:\/\/github.com\/gavinkwoe\/BeeFramework\",\n            \"createdAt\": \"2012-08-28T08:29:24Z\",\n            \"updatedAt\": \"2021-03-02T02:26:59Z\",\n            \"primaryLanguage\": {\n              \"name\": \"Objective-C\"\n            }\n          }\n        },\n        {\n          \"node\": {\n            \"name\": \"Beef\",\n            \"description\": \"Beef Programming Language\",\n            \"stargazerCount\": 1739,\n            \"url\": \"https:\/\/github.com\/beefytech\/Beef\",\n            \"createdAt\": \"2019-08-20T15:43:32Z\",\n            \"updatedAt\": \"2021-03-07T17:11:42Z\",\n            \"primaryLanguage\": {\n              \"name\": \"C++\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Github\u306eGraphQL API\u3092\u4f7f\u7528\u3057\u3066Github\u3092\u691c\u7d22\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30ea\u30b9\u30c8\u306e\u30c7\u30fc\u30bf\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-Bz","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2329"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2329"}],"version-history":[{"count":1,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2329\/revisions"}],"predecessor-version":[{"id":2331,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2329\/revisions\/2331"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}