{"id":23864,"date":"2013-10-12T23:50:24","date_gmt":"2013-10-12T23:50:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lastfm-charts\/"},"modified":"2013-10-12T23:50:24","modified_gmt":"2013-10-12T23:50:24","slug":"lastfm-charts","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/lastfm-charts\/","author":46289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"WordPress Last.fm Charts","header_author":"Sarah Vessels","header_description":"","assets_banners_color":"","last_updated":"2013-10-12 23:50:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.3till7.net\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1744,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"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":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1566988","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566988","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566988","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566988","resolution":"1","location":"plugin"}},"screenshots":{"1":"Top artists from the last twelve months as a horizontal bar chart.","2":"Top artists from the last twelve months as a pie chart.","3":"Top tracks from the last twelve months as a horizontal bar chart.","4":"Top tracks from the last twelve months as a pie chart."}},"plugin_section":[],"plugin_tags":[2510,4108,4109,1679,17085],"plugin_category":[43,50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-23864","plugin","type-plugin","status-closed","hentry","plugin_tags-chart","plugin_tags-charts","plugin_tags-graphs","plugin_tags-last-fm","plugin_tags-pie","plugin_category-customization","plugin_category-media","plugin_committers-cheshire137"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lastfm-charts.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/lastfm-charts\/trunk\/screenshot-1.png?rev=1566988","caption":"Top artists from the last twelve months as a horizontal bar chart."},{"src":"https:\/\/ps.w.org\/lastfm-charts\/trunk\/screenshot-2.png?rev=1566988","caption":"Top artists from the last twelve months as a pie chart."},{"src":"https:\/\/ps.w.org\/lastfm-charts\/trunk\/screenshot-3.png?rev=1566988","caption":"Top tracks from the last twelve months as a horizontal bar chart."},{"src":"https:\/\/ps.w.org\/lastfm-charts\/trunk\/screenshot-4.png?rev=1566988","caption":"Top tracks from the last twelve months as a pie chart."}],"raw_content":"<!--section=description-->\n<p>Using the <a href=\"http:\/\/www.last.fm\/api\">Last.fm API<\/a>, this is a WordPress plugin\nthat provides a shortcode that will display charts\nof your Last.fm music-listening data. This plugin uses the <a href=\"http:\/\/wordpress.org\/plugins\/easy-chart-builder\/\">Easy Chart Builder plugin<\/a> by <a href=\"http:\/\/profiles.wordpress.org\/dyerware\/\">dyerware<\/a> to create charts, so\nyou will need to install and activate that plugin first.<\/p>\n\n<p><a href=\"https:\/\/github.com\/moneypenny\/wp-lastfm-charts\/archive\/master.zip\">Download the latest version of the plugin<\/a> or <a href=\"https:\/\/github.com\/moneypenny\/wp-lastfm-charts\">view the source code<\/a>.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>In a post or page, use the <code>[wp_lastfm_charts_top_artists]<\/code> or <code>[wp_lastfm_charts_top_tracks]<\/code> shortcode. Specify the <code>user_name<\/code> parameter, using your Last.fm user name. Specify a time range with the <code>period<\/code> parameter, e.g., <code>12month<\/code>. Specify a chart type with <code>chart_type<\/code>, e.g., <code>horizbar<\/code> or <code>pie<\/code>.<\/p>\n\n<p>Some examples:<\/p>\n\n<pre><code>[wp_lastfm_charts_top_artists user_name=\"cheshire137\" period=\"12month\" chart_type=\"horizbar\"]\n\n[wp_lastfm_charts_top_artists user_name=\"cheshire137\" period=\"12month\" chart_type=\"pie\"]\n\n[wp_lastfm_charts_top_tracks user_name=\"cheshire137\" period=\"12month\" chart_type=\"horizbar\"]\n\n[wp_lastfm_charts_top_tracks user_name=\"cheshire137\" period=\"12month\" chart_type=\"pie\"]\n<\/code><\/pre>\n\n<p>Other parameters include <code>chart_color<\/code>, <code>chart_fade_color<\/code>, <code>width<\/code>, <code>height<\/code>,\n    colors, <code>limit<\/code>, <code>title<\/code>, <code>data_table_css<\/code>, and <code>image_alt<\/code>.<\/p>\n\n<pre><code>chart_color and `chart_fade_color` refer to the background color of the chart\n<\/code><\/pre>\n\n<p>and should be hex color codes without the #. They default to <code>FFFFFF<\/code> (white).<\/p>\n\n<pre><code>limit refers to the number of artists or tracks to display in the chart. It\n<\/code><\/pre>\n\n<p>defaults to 12.<\/p>\n\n<pre><code>colors should be a comma-separated list of hex color codes without the #.\n\nperiod should be one of `overall`, `7day`, `1month`, `3month`, `6month`, or\n12month.\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>wp-lastfm-charts\/<\/code> folder (that is, the entire plugin folder) to your WordPress <code>wp-content\/plugins<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in the WordPress admin dashboard.<\/li>\n<li>Use the <code>[wp_lastfm_charts_top_artists]<\/code> or <code>[wp_lastfm_charts_top_tracks]<\/code> shortcode in a post or page (see Usage section for details).<\/li>\n<\/ol>","raw_excerpt":"Shortcodes to display charts of Last.fm data for a particular user.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23864"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cheshire137"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23864"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23864"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23864"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23864"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23864"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}