<s> import datetime <EOL> import forecastio <EOL> def main ( ) : <EOL> """<STR_LIT>""" <EOL> api_key = "<STR_LIT>" <EOL> lat = - <NUM_LIT> <EOL> lng = <NUM_LIT> <EOL> time = datetime . datetime ( <NUM_LIT> , <NUM_LIT:2> , <NUM_LIT> , <NUM_LIT:6> , <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> forecast = forecastio . load_forecast ( api_key , lat , lng , time = time ) <EOL> print "<STR_LIT>" <EOL> print forecast . currently ( ) <EOL> print "<STR_LIT>" <EOL> by_hour = forecast . hourly ( ) <EOL> print "<STR_LIT>" % ( by_hour . summary ) <EOL> for hourly_data_point in by_hour . data : <EOL> print hourly_data_point <EOL> print "<STR_LIT>" <EOL> by_day = forecast . daily ( ) <EOL> print "<STR_LIT>" % ( by_day . summary ) <EOL> for daily_data_point in by_day . data : <EOL> print daily_data_point <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
