Skip to content

Commit

Permalink
Update MapplsAPIKit.md
Browse files Browse the repository at this point in the history
update sample code for weather api
  • Loading branch information
Siddharth-kushwaha authored Jun 14, 2023
1 parent 187bd77 commit b5ff4cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v1.0.12/MapplsAPIKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -1234,8 +1234,8 @@ In callback of `getResults` function it will either return an error object of ty
if (error != nil ) {
NSLog(@"error: %@", error.localizedDescription);
} else {}
NSLog(@"temperature %@", response.data.temperature.temperature);
NSLog(@"temperatureUnit %@", response.data.temperature.temperatureUnit);
NSLog(@"temperature %@", response.data.temperature.value);
NSLog(@"temperatureUnit %@", response.data.temperature.unit);

for (MapplsForecastData* weatherForcast in response.data.forecastData){
NSLog(@"day %@", weatherForcast.day);
Expand Down

0 comments on commit b5ff4cb

Please sign in to comment.