{"id":174,"date":"2017-04-28T23:05:15","date_gmt":"2017-04-28T23:05:15","guid":{"rendered":"https:\/\/shanecunningham.me\/blog\/?p=174"},"modified":"2020-05-23T23:41:44","modified_gmt":"2020-05-23T23:41:44","slug":"174","status":"publish","type":"post","link":"https:\/\/cun.ie\/blog\/2017\/04\/28\/174\/","title":{"rendered":"Android Weather App using Darksky API"},"content":{"rendered":"\n[et_pb_section][et_pb_row][et_pb_column type=&#8221;4_4&#8243;][et_pb_text]<!-- divi:paragraph -->\n<p>Weather forecast data from a free API provided by <a href=\"https:\/\/darksky.net\/\">Darksky.net<\/a>. The android app then parses the data (in JSON format) and display it in a single-page app. it also can handle errors and situations when the network is unavailable.<\/p>\n<!-- \/divi:paragraph -->\n\n<!-- divi:paragraph -->\n<p>Features used in this project are:<\/p>\n<!-- \/divi:paragraph -->\n\n<!-- divi:list {\"ordered\":true} -->\n<ol><li>Networking<\/li><li><a href=\"http:\/\/square.github.io\/okhttp\/\">OkHttp<\/a><\/li><li>DarkSky API<\/li><li>Parsing JSON feed<\/li><li>DialogFragment<\/li><\/ol>\n<!-- \/divi:list -->[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p><div class=\"et_pb_section et_pb_section_0 et_section_regular\" >\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div><div class=\"et_pb_row et_pb_row_0 et_pb_row_empty\">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div><div class=\"et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light\">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div> Weather forecast data from a free API provided by Darksky.net. The android app then parses the data (in JSON format) and display it in a single-page app. it also can handle errors and situations when the network is unavailable. Features used in this project are: NetworkingOkHttpDarkSky APIParsing JSON feedDialogFragment<\/p>\n","protected":false},"author":1,"featured_media":175,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<!-- wp:paragraph -->\n<p>Weather forecast data from a free API provided by <a href=\"https:\/\/darksky.net\/\">Darksky.net<\/a>. The android app then parses the data (in JSON format) and display it in a single-page app. it also can handle errors and situations when the network is unavailable.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Features used in this project are:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>Networking<\/li><li><a href=\"http:\/\/square.github.io\/okhttp\/\">OkHttp<\/a><\/li><li>DarkSky API<\/li><li>Parsing JSON feed<\/li><li>DialogFragment<\/li><\/ol>\n<!-- \/wp:list -->","_et_gb_content_width":"","footnotes":""},"categories":[16],"tags":[],"class_list":["post-174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects"],"_links":{"self":[{"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":0,"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/media\/175"}],"wp:attachment":[{"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cun.ie\/blog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}