{"id":18219,"date":"2023-05-19T16:27:09","date_gmt":"2023-05-19T14:27:09","guid":{"rendered":"https:\/\/www.graviton.at\/letterswaplibrary\/self-promotion-every-product-listed-on-lego-com-may-2023\/"},"modified":"2023-05-19T16:27:09","modified_gmt":"2023-05-19T14:27:09","slug":"self-promotion-every-product-listed-on-lego-com-may-2023","status":"publish","type":"post","link":"https:\/\/www.graviton.at\/letterswaplibrary\/self-promotion-every-product-listed-on-lego-com-may-2023\/","title":{"rendered":"[self-promotion] Every Product Listed On LEGO.com, May 2023"},"content":{"rendered":"<p><!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>I made a little Python crawler that slurps up data about products listed on <a href=\"https:\/\/lego.com\/\">LEGO.com<\/a>. That&#8217;s every <em>product<\/em> on the site, not just LEGO sets.<\/p>\n<p>Here&#8217;s the crawler&#8217;s JSON output from May 9, 2023: <a href=\"https:\/\/gist.github.com\/ryukoposting\/070bea86a3b9fefc285388b0ffe651aa\">https:\/\/gist.github.com\/ryukoposting\/070bea86a3b9fefc285388b0ffe651aa<\/a><\/p>\n<p>Each product includes the following information:<\/p>\n<p>  The product&#8217;s name A link to the product page on LEGO.com The product&#8217;s price in USD The product&#8217;s discount price in USD, if there is a discount. The number of LEGO pieces in the product (if the product isn&#8217;t a LEGO set, this value is null) LEGO&#8217;s suggested age range of the product, if one is available. Whether or not the product is currently available for purchase. Note: this is misleadingly called in_stock, but its value will be true for products that are on backorder. The product&#8217;s customer rating average, 1-5 stars. A list of themes to which the product belongs. Many products have only one theme, but some belong to multiple themes.  <\/p><\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/ryu-ryu-ryu\"> \/u\/ryu-ryu-ryu <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/13lw40y\/selfpromotion_every_product_listed_on_legocom_may\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/13lw40y\/selfpromotion_every_product_listed_on_legocom_may\/\">[comments]<\/a><\/span><\/p><div class='watch-action'><div class='watch-position align-right'><div class='action-like'><a class='lbg-style1 like-18219 jlk' href='javascript:void(0)' data-task='like' data-post_id='18219' data-nonce='65e0e39b87' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.graviton.at\/letterswaplibrary\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-18219 lc'>0<\/span><\/a><\/div><\/div> <div class='status-18219 status align-right'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>I made a little Python crawler that slurps up data about products listed on LEGO.com. That&#8217;s every&#8230;<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-18219","post","type-post","status-publish","format-standard","hentry","category-datatards","wpcat-85-id"],"_links":{"self":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/18219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/comments?post=18219"}],"version-history":[{"count":0,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/18219\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/media?parent=18219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/categories?post=18219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/tags?post=18219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}