{"id":151275,"date":"2021-12-18T02:14:24","date_gmt":"2021-12-18T02:14:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/flair-github\/"},"modified":"2021-12-21T18:53:28","modified_gmt":"2021-12-21T18:53:28","slug":"flair-github","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/flair-github\/","author":20148238,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"5.8.13","requires":"5.2","requires_php":"7.2","requires_plugins":"","header_name":"Flair - Github","header_author":"Manoj Kumar","header_description":"Display a profile summary through Github's API","assets_banners_color":"","last_updated":"2021-12-21 18:53:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/M4N0JKUM4R\/WordPress-Github-Cards","header_author_uri":"https:\/\/manojkumar.online","rating":0,"author_block_rating":0,"active_installs":0,"downloads":883,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"m4n0jkum4r","date":"2021-12-18 02:13:55"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2646058,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2646058,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2646058,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2646058,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2646058,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2646058,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2646058,"resolution":"6","location":"assets","locale":""},"screenshot-7.gif":{"filename":"screenshot-7.gif","revision":2646058,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Horizontal \/ Desktop layout","2":"Vertical \/ Mobile layout","3":"Search function","4":"Classic Editor","5":"Block Editor","6":"Template file - Example: \"Code usage\" page.","7":"Demo GIF"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15095,58850,1673,435,944],"plugin_category":[43],"plugin_contributors":[206022],"plugin_business_model":[],"class_list":["post-151275","plugin","type-plugin","status-publish","hentry","plugin_tags-card","plugin_tags-flair","plugin_tags-github","plugin_tags-profile","plugin_tags-search","plugin_category-customization","plugin_contributors-m4n0jkum4r","plugin_committers-m4n0jkum4r"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/flair-github\/assets\/icon-128x128.png?rev=2646058","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-1.png?rev=2646058","caption":"Horizontal \/ Desktop layout"},{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-2.png?rev=2646058","caption":"Vertical \/ Mobile layout"},{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-3.png?rev=2646058","caption":"Search function"},{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-4.png?rev=2646058","caption":"Classic Editor"},{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-5.png?rev=2646058","caption":"Block Editor"},{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-6.png?rev=2646058","caption":"Template file - Example: \"Code usage\" page."},{"src":"https:\/\/ps.w.org\/flair-github\/assets\/screenshot-7.gif?rev=2646058","caption":"Demo GIF"}],"raw_content":"<!--section=description-->\n<p>\ud83d\udce3 WordPress plugin to show Github profile summary through their API.<\/p>\n\n<p>\u26a1\ufe0f Demo: <a href=\"https:\/\/manojkumar.online\/lab\/wp\/github-flair-demo\/\">https:\/\/manojkumar.online\/lab\/wp\/github-flair-demo\/<\/a><\/p>\n\n<p>After installing the plugin, just use this shortcode: <code>[github-flair]<\/code> in your posts, pages or widgets.<\/p>\n\n<p>You can make use of the user attribute of the shortcode like this:<\/p>\n\n<pre><code>[github-flair user=\"WordPress\"] \n<\/code><\/pre>\n\n<p>where WordPress can be replaced by your desired Github username.<\/p>\n\n<p>By default, the search function is enabled but if you need to remove it, you can do so with:<\/p>\n\n<pre><code>[github-flair show-search=\"no\"]\n<\/code><\/pre>\n\n<p>You can also make use of the shortcode in your template files using this<\/p>\n\n<pre><code>&lt;?php echo do_shortcode(\"[github-flair user='WordPress']\") ; ?&gt;\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20need%20an%20api%20key%20to%20access%20github%20key%3F'><h3>Do I need an API key to access GitHub key?<\/h3><\/dt>\n<dd><p>You might not need an API key for now since GitHub offers unauthenticated access up to certain limit. Please read this: https:\/\/docs.github.com\/en\/rest\/guides\/getting-started-with-the-rest-api which says that they allow up to 60 requests per hour per user. So they block the IP for a while if they exceed that limit.<\/p>\n\n<p>The admin inputs for API key will be in the future releases if people find it interesting to work with.<\/p><\/dd>\n<dt id='how%20do%20i%20limit%20the%20number%20of%20search%20results%3F'><h3>How do I limit the number of search results?<\/h3><\/dt>\n<dd><p>Make use of the attribute <code>[github-flair total-results=\"25\"]<\/code> where you can set any number instead of 25.<\/p><\/dd>\n<dt id='i%20need%20to%20add%2Fdelete%20details%20to%2Ffrom%20these%20cards.'><h3>I need to add\/delete details to\/from these cards.<\/h3><\/dt>\n<dd><p>You can do so if you are a developer by editing the script.js file and getting the desired results from the API into the HTML and then minify it. As a non-developer, You can request more profile data through https:\/\/github.com\/M4N0JKUM4R\/Flair-Github\/issues<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 1.0.1\n* Fixed JS errors on non-shortcode pages. Added option to limit the number of search results.<\/p>\n\n<p>= 1.0.0\n* Early release with basic rendering of cards with a search function.<\/p>","raw_excerpt":"WordPress plugin to show Github profile summary through their API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/151275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=151275"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/m4n0jkum4r"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=151275"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=151275"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=151275"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=151275"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=151275"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=151275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}