4 REPLIES
navigator
Master navigator

Re: Fower Power cloud API wrong documentation?

"https://apiflowerpower.parrot.com/sensor_data/v3/sync"
will return a list of all locations (among other data).
However, locations do not contain measured sensor data.
To get that, you need to retrieve samples.

norlin
Senior Navigator

Re: Fower Power cloud API wrong documentation?

@ParrotAdmin Hello! That my reply above - it's NOT a solution! As I wrote, there is no locations data (which should contains data from sensors/predictions)!

norlin
Senior Navigator

Re: Fower Power cloud API wrong documentation?

Yes, this method works, but for me it returns only sensors data. No locations object in the JSON.

navigator
Master navigator
Solution

Re: Fower Power cloud API wrong documentation?

The URL in the middle/grey column of the documentation page seems to be invalid (gives a 404 error).

Fortunately the URL in the right/black column (Python code) works (at least as of today 2016-06-03):
'https://apiflowerpower.parrot.com/sensor_data/v4/garden_locations_status'

Highlighted
norlin
Senior Navigator

Fower Power cloud API wrong documentation?

Hello!

 

I'm working on some project with Flower Power API and have found the documentation contains bugs...

 

API specs: http://developer.parrot.com/docs/flowerpower/

 

Is it official docs? If no, where I can find the one?

 

If so, what about this method:

https://apiflowerpower.parrot.com/v4/gardenlocation_status

?

 

It's definitely wrong description...

 

Also, I've found a node.js module for this API: https://github.com/Parrot-Developers/node-flower-power-cloud/network

Not sure if it's official Parrot's module.

 

Among other methods, the module uses this one:

/sensor_data/v1/statistics/:location_identifier

Which is not documented on the page and doesn't seems it's working "as is".

 

I'm just want to find a method which can tell me the latest "advices" for specific plant. (Need to moisturize or not yet and so on).

 

Thanks in advance!