ClementNerma / tapo-rest

An unofficial REST API to remotely control Tapo devices
44 stars 3 forks source link

Example call for get-hourly-energy-data #4

Closed hattabatatta closed 1 year ago

hattabatatta commented 1 year ago

No matter in which time formats, wether with or without usage of %20 for whitespaces, or no whitespaces, etc. I am always getting the error message: "Failed to deserialize query string: a character literal was not valid"

Can you please provide an example call?

ClementNerma commented 1 year ago

Hi, sorry for the inconvenience.

There was a problem with the parser, it's now solved ; please pull the latest commits to get the new version.

You can provide the timestamps in RFC 3339 format (e.g. 2023-09-07T07:05:06.402Z).

Please tell me if the problem is solved on your side.

hattabatatta commented 1 year ago

Yep it does work now. I am gonna close the Issue