{"id":316,"date":"2023-08-11T18:15:43","date_gmt":"2023-08-11T18:15:43","guid":{"rendered":"http:\/\/theshanty.us\/?p=316"},"modified":"2023-08-11T20:35:19","modified_gmt":"2023-08-11T20:35:19","slug":"added-weather-stats-to-the-blog","status":"publish","type":"post","link":"http:\/\/blog.theshanty.us\/index.php\/2023\/08\/11\/added-weather-stats-to-the-blog\/","title":{"rendered":"Added weather stats to the blog!"},"content":{"rendered":"\n<p>Through a combination of Linux shell scripting and pandas\/matplotlib for Python, I am making API calls every 10 minutes to retrieve data from my weather station via <a href=\"https:\/\/wunderground.com\" data-type=\"URL\" data-id=\"https:\/\/wunderground.com\">wunderground.com<\/a> and generating charts with live data on the &#8220;<a href=\"http:\/\/theshanty.us\/index.php\/weather-stuff\/\">Weather Stuff<\/a>&#8221; page of this blog. Currently it resets at midnight, but I will be working on putting the data into a database and pulling a rolling 24 hour window next.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Live temperature graph!<\/h2>\n\n\n\n<img src=http:\/\/theshanty.us\/image\/temperature.png>\n","protected":false},"excerpt":{"rendered":"<p>Through a combination of Linux shell scripting and pandas\/matplotlib for<\/p>\n","protected":false},"author":1,"featured_media":318,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,43],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-coding"],"featured_image_urls":{"full":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",1000,800,false],"thumbnail":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",150,120,false],"medium":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",300,240,false],"medium_large":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",640,512,false],"large":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",640,512,false],"1536x1536":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",1000,800,false],"2048x2048":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",1000,800,false],"chromenews-featured":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",1000,800,false],"chromenews-large":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",719,575,false],"chromenews-medium":["http:\/\/blog.theshanty.us\/wp-content\/uploads\/2023\/08\/temperature.png",513,410,false]},"author_info":{"display_name":"chuck","author_link":"http:\/\/blog.theshanty.us\/index.php\/author\/chuck-2\/"},"category_info":"<a href=\"http:\/\/blog.theshanty.us\/index.php\/category\/blog\/\" rel=\"category tag\">Blog<\/a> <a href=\"http:\/\/blog.theshanty.us\/index.php\/category\/coding\/\" rel=\"category tag\">Coding<\/a>","tag_info":"Coding","comment_count":"0","_links":{"self":[{"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/posts\/316"}],"collection":[{"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":4,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":324,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/posts\/316\/revisions\/324"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/media\/318"}],"wp:attachment":[{"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.theshanty.us\/index.php\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}