Skip to content

Commit

Permalink
editted view
Browse files Browse the repository at this point in the history
  • Loading branch information
codebach committed Oct 12, 2015
1 parent ca835cf commit 306ff9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This brings 5 days weather information of Istanbul ( Date, City, Temperature, De
{{ pianosolo_get_weather('Istanbul') }}
```

This brings 1 day of weather reasults of Istanbul.
This brings 1 day of weather reasults of Istanbul ( Date, City, Temperature, Description )

#### As Weather Service

Expand All @@ -88,7 +88,7 @@ $weathersArray = $weatherService->getWeatherObject('Istanbul');
$weatherObject = $weathersArray[0];
$city = $WeatherObject->getCity();
$date = $WeatherObject->getWdate();
$temperatarue = $WeatherObject->getTemperetare();
$temperature = $WeatherObject->getTemperature();
$description = $WeatherObject->getDescription();
```

Expand All @@ -107,7 +107,7 @@ $weathersArray = $weatherService->getForecastObject('Istanbul',2);
foreach($weathersArray as $weatherObject){
$city = $WeatherObject->getCity();
$date = $WeatherObject->getWdate();
$temperatarue = $WeatherObject->getTemperetare();
$temperature = $WeatherObject->getTemperature();
$description = $WeatherObject->getDescription();
// Your Logic...
}
Expand Down

0 comments on commit 306ff9c

Please sign in to comment.