Skip to content

Commit

Permalink
Merge pull request #15 from tobiaskluge/patch-1
Browse files Browse the repository at this point in the history
Minor issues in code
  • Loading branch information
trosenblatt-zz committed Dec 28, 2015
2 parents b430196 + c6248f9 commit beca061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Please note that you should NOT store users' credentials (which is not secure) a
{
//redirect to Netatmo Authorize URL
$redirect_url = $client->getAuthorizeUrl();
header("HTTP/1.1 ". OAUTH2_HTTTP_FOUND);
header("HTTP/1.1 ". OAUTH2_HTTP_FOUND);
header("Location: ". $redirect_url);
die();
}
Expand All @@ -87,7 +87,7 @@ Once an access token has been retrieved, it can be used to retrieved user's devi
$data = $client->getData(NULL, TRUE);
foreach($data['devices'] as $device)
{
echo device['station_name'] . "\n";
echo $device['station_name'] . "\n";
print_r($device['dashboard_data']);
foreach($device['modules'] as $module)
{
Expand Down

0 comments on commit beca061

Please sign in to comment.