Skip to content

Commit

Permalink
Arghl... fixing docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lost Carrier committed Mar 9, 2021
1 parent 1370874 commit c87f9b5
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 @@ -28,8 +28,8 @@ You'll get CLIENT_ID and CLIENT_SECRET at https://dev.netatmo.com/dev/createapp.
client.login(E_MAIL, PASSWORD);

List<String> types = Arrays.asList(Params.TYPE_TEMPERATURE, Params.TYPE_PRESSURE, Params.TYPE_HUMIDITY);
ZonedDateTime dateBegin = ZonedDateTime.parse("2015-09-10T00Z");
ZonedDateTime dateEnd = ZonedDateTime.parse("2015-09-11T00Z");
ZonedDateTime dateBegin = ZonedDateTime.parse("2015-09-10T00:00Z");
ZonedDateTime dateEnd = ZonedDateTime.parse("2015-09-11T00:00Z");
Station station = client.getStationsData().get(0);

List<Measures> measures = client.getMeasures(station, station.getModules().get(0), types, Params.SCALE_MAX, dateBegin, dateEnd, null, null);
Expand Down

0 comments on commit c87f9b5

Please sign in to comment.