Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WattDepotClient methods should make samplingInterval optional #35

Open
cammoore opened this issue Jul 13, 2013 · 1 comment
Open

WattDepotClient methods should make samplingInterval optional #35

cammoore opened this issue Jul 13, 2013 · 1 comment

Comments

@cammoore
Copy link
Member

Reported by rbrewer, Oct 30, 2011
The methods of WattDepotClient such as getEnergy currently require a samplingInterval parameter, even though in the REST API it is optional. This causes needless errors if a client wants to retrieve the energy data for a range shorter than the sampling interval.

These methods should all have a additional version that omits the samplingInterval parameter.

@rbrewer
Copy link
Member

rbrewer commented Jul 19, 2013

Duplicates #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants