Skip to content

Commit

Permalink
Added note about API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kbickar committed Aug 12, 2018
1 parent 94b7312 commit 00eb058
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ Please enter your Sense password:
```

There are plenty of methods for you to call so modify however you see fit

If using the API to log data, you should only create one instance of Senseable and
then reuse that to get the updated stats. Creating the instance authenticates
with the Sense API which should only be once every 15-20 minutes at most.
Calling the `update_trend_data()` function will update all the trend stats
and `get_realtime()` will retrieve the latest real time stats.

0 comments on commit 00eb058

Please sign in to comment.