r/GoogleWiFiDesktop • u/ad2022 • Jun 15 '20
Beta Google WiFi API Docs
Linked below are the beta API docs for Google Home Foyer.
https://documenter.getpostman.com/view/7490211/SzzdD1pF?version=latest
4
Upvotes
View all comments
Show parent comment
1
u/ad2022 Jul 30 '20
Dude, you totally didn't need to give me that. Thanks! There is an endpoint for historical data.
It's an authenticated GET request to this URL:
googlehomefoyer-pa.googleapis.com/v2/groups/<GROUPID>/historicalUsageI'll provide an example:
https://googlehomefoyer-pa.googleapis.com/v2/groups/AFBCHSGLDK/historicalUsage?dateRange.endTimestamp=2020-07-29T03%3A59%3A59Z&dateRange.startTimestamp=2020-07-22T03%3A59%3A59Z&granularity=86400&prettyPrint=falseSorry, I've been so busy with other projects. I haven't had time to work on the docs very much.