Open danielmiorandi opened 9 years ago
Dummy version returning a random Number implemented here: http://civis.tbm.tudelft.nl/apidoc/#api-Production-GetProductionLast
@danielmiorandi for now we are not caching any data, but is it fine if on this call we return you the most recent month's data.?
nop, production/consumption data come with a much finer granularity (15’ down to 60”). The last value is actually a way of approximating the current production/consumption figure.
Best regards,
Daniele
Daniele Miorandi, PhD Executive Vice President R&D U-Hopper S.r.l. e-mail: daniele.miorandi@u-hopper.com Tel: (+39) 0461 1636588 Cell: (+39) 347 5865883 Skype: danielemiorandi www.u-hopper.com http://www.u-hopper.com/
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited according to the Italian Law 196/2003 of the Legislature. If you received this in error, please contact the sender and delete the material from any computer.
Le informazioni contenute in questo messaggio di posta elettronica e nei file allegati sono da considerarsi strettamente riservate. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalita' indicate nel messaggio stesso. Qualora riceveste questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla cancellazione del messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalita' diverse, costituisce comportamento contrario ai principi dettati dal D. Lgs.196/2003.
On 27 Aug 2015, at 13:37, Taha Kachwala notifications@github.com wrote:
@danielmiorandi https://github.com/danielmiorandi for now we are not caching any data, but is it fine if on this call we return you the most recent month's data.?
— Reply to this email directly or view it on GitHub https://github.com/CIVIS-project/YouPower/issues/71#issuecomment-135395115.
@danielmiorandi Ok I will mail reply about it since they have not yet given me an API call for this.
same as #70 but for production: Need a new endpoint (e.g., /api/production/last) for retrieving the last reading of production data. Parameters: userID and token.