{"id":270,"date":"2020-11-27T23:22:12","date_gmt":"2020-11-27T23:22:12","guid":{"rendered":"http:\/\/toogreen.ca\/blog\/?p=270"},"modified":"2026-10-13T02:27:56","modified_gmt":"2026-10-13T02:27:56","slug":"weather-app-updated-appli-meteo-mise-a-jour","status":"publish","type":"post","link":"https:\/\/toogreen.ca\/blog\/index.php\/2020\/11\/27\/weather-app-updated-appli-meteo-mise-a-jour\/","title":{"rendered":"Weather App Updated! Appli M\u00e9t\u00e9o mise-\u00e0-jour"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">English Below &#8211; Pour ceux que \u00e7a int\u00e9resse, j&rsquo;ai fait une petite mise-\u00e0-jour de mon appli m\u00e9t\u00e9o, qui fait en sorte que dor\u00e9navant, quand l&rsquo;appli d\u00e9marre, elle d\u00e9tecte notre emplacement g\u00e9ographique et vous donne donc automatiquement la m\u00e9t\u00e9o pour cette r\u00e9gion donn\u00e9e, sans que vous ayez \u00e0 taper quoi que ce soit. C&rsquo;est donc normal si vous voyez un message appara\u00eetre qui vous demande si vous souhaitez partager vos infos de g\u00e9olocalisation. Vous n&rsquo;\u00eates pas oblig\u00e9 d&rsquo;accepter \u00e9videmment mais il faut bien s\u00fbr accepter si l&rsquo;on veut que cette fonctionnalit\u00e9 soit activ\u00e9e. C&rsquo;est fort possible aussi qu&rsquo;il y ait encore quelques petits bogues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For those who may be interested, I&rsquo;ve now updated my weather app so that It automatically detects where in the world you are and loads the weather for the city you&rsquo;re in. Obviously this requires that your browser enables geolocation so you may get a popup asking if you comply. It&rsquo;s up to you but obviously if you want this feature to work you need to enable that. There may still be some bugs. Enjoy!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/toogreen.ca\/weather\">https:\/\/toogreen.ca\/weather<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>English Below &#8211; Pour ceux que \u00e7a int\u00e9resse, j&rsquo;ai fait une petite mise-\u00e0-jour de mon appli m\u00e9t\u00e9o, qui fait en sorte que dor\u00e9navant, quand l&rsquo;appli d\u00e9marre, elle d\u00e9tecte notre emplacement g\u00e9ographique et\u2026<\/p>\n","protected":false},"author":1,"featured_media":998,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,97,80],"tags":[34,131,58,130],"class_list":["post-270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hacking","category-html","category-web-development","tag-coding","tag-geolocation","tag-javascript","tag-weather"],"_links":{"self":[{"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":1,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":271,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions\/271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/media\/998"}],"wp:attachment":[{"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toogreen.ca\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}