{"id":51372,"date":"2016-10-08T08:36:12","date_gmt":"2016-10-08T08:36:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-youtube-counters\/"},"modified":"2016-10-10T10:02:16","modified_gmt":"2016-10-10T10:02:16","slug":"wp-youtube-counters","status":"publish","type":"plugin","link":"https:\/\/tt.wordpress.org\/plugins\/wp-youtube-counters\/","author":14554573,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"trunk","tested":"4.6.30","requires":"4.3","requires_php":"","requires_plugins":"","header_name":"WP YouTube Counters","header_author":"Mateusz Adamus","header_description":"","assets_banners_color":"","last_updated":"2016-10-10 10:02:16","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=Y4RV4YRV57WVN&lc=PL&item_name=WP%20YouTube%20Counters&currency_code=PLN&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"","header_author_uri":"http:\/\/mateuszadamus.pl","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1301,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[442,357,1016,872,1610],"plugin_category":[41,43,56],"plugin_contributors":[97033],"plugin_business_model":[],"class_list":["post-51372","plugin","type-plugin","status-publish","hentry","plugin_tags-count","plugin_tags-shortcodes","plugin_tags-subscribers","plugin_tags-views","plugin_tags-youtube","plugin_category-communication","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-mateuszadamus"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-youtube-counters.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds shortcodes to show YouTube channel's subscribers and video views count. For both shortcodes YouTube Channel ID and YouTube API Key is needed.<\/p>\n <p>For performance reasons the data is refreshed once every 12 hours. This can be modified with \"timeout\" parameter (value in hours).<\/p>\n <p>Shortcodes are as follows:<\/p>\n <ul>\n<li>youtube_views_count - for channel video views count<\/li>\n<li>youtube_subscribers_count - for channel subscribers count<\/li>\n<\/ul>\n <p>Parameters are as follows:<\/p>\n <ul>\n<li>id - YouTube channel ID (How to get YouTube channel ID? https:\/\/support.google.com\/youtube\/answer\/3250431?hl=en)<\/li>\n<li>key - YouTube API key for browser (How to get YouTube API key? https:\/\/developers.google.com\/youtube\/registering_an_application#Create_API_Keys)<\/li>\n<li>timeout - cache timeout (value in hours) \/default is 12 hours\/<\/li>\n<\/ul>\n <p><strong>For example:<\/strong><\/p>\n <ul>\n<li>[youtube_views_count id='YOUR_CHANNEL_ID' key='YOUR_API_KEY']<\/li>\n<li>[youtube_views_count id='YOUR_CHANNEL_ID' key='YOUR_API_KEY' timeout='1']<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download *.zip file with plugin contents<\/li>\n<li>Extract plugin from the *.zip file<\/li>\n<li>Upload all extracted files and folders to the <code>\/wp-content\/plugins\/wp-youtube-counters<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n <ul>\n<li>Added caching of YouTube data to lower the use of Google API<\/li>\n<\/ul>\n <h4>0.1<\/h4>\n <ul>\n<li>Initial release of the plugin<\/li>\n<\/ul>","raw_excerpt":"Adds shortcodes to show YouTube channel&#039;s subscribers and video views count.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51372"}],"author":[{"embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mateuszadamus"}],"wp:attachment":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51372"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51372"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51372"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51372"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51372"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}