Replies: 4 comments 2 replies
-
Very good idea, thank you |
Beta Was this translation helpful? Give feedback.
-
Hi @mehdyouras Do you think part or all of these evolution can be integer ? Thanks |
Beta Was this translation helpful? Give feedback.
-
Sorry for the silly question - before I start developing interfaces (including shortcuts for Siri), I try to model/understand the api but submitting an https:// request to the API through a browser. I have not been able to get a valid response (I either get "forbidden" or "missing api key") although I am including it in the https:// in the browser. Could somebody let me know what that syntax looks like? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks Marc for the guidance. I guess my question is even simpler than that. How do I strictire that cURL command in a straight http rquest in a browser such as safari so I can automate it into an iphone shortcut.
Thanks again!
… On Jun 9, 2023, at 11:09 AM, Marc GUYARD ***@***.***> wrote:
This is not the right place for this question (better here : #1 <#1>) but this is example from curl :
First you need to request all pool to get the pool id :
curl --location 'https://api.iopool.com/v1/pools/' --header 'x-api-key: <hereyourapi>'
In the reply, you will have the pool id for each pool.
To request pool information you need to call :
curl --location 'https://api.iopool.com/v1/pool/<hereyourpoolid>' --header 'x-api-key: <hereyourapi>'
Response format is the same as explain here : https://help.iopool.com/fr/articles/5537423-api-publique-iopool
—
Reply to this email directly, view it on GitHub <#4 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASK2GM3NCB7OM2HI56R2PYLXKM4BNANCNFSM5DNCVF2Q>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I create this topic to start to centralize some feature request in API.
Type
API don't include type (pool or spa). This can be an interesting information
Treatment in progress
API include if action is required. It's a boolean. But we don't have information if treatment is in progress.
Indicator color (green/orange/red) for ORP, pH and temperature
Like we have in app, it can be interesting to receive indicator color. My plugin using API try to generate color based on value like we can see here for each values.
But if we can receive it directly thru API it can be better.
Flag color (green/orange/red)
Like we have in app, it can be interesting to receive flag color. My plugin using API try to generate color flag based on color (see above) of each values (orp,pH, temperature). If one flag is red, the flag is red. If one is orange = flag is orange else it's green.
I don't know if it's the right way but if this information is shared by API it's will be similar to app.
Actions
Have a array with all actions recommanded and if we have product in stock to apply it, like this we can have a automation notification when action is required but no product in stock for this action,, can permit user to purchase product quickly before open app and discover it.
API purpose evolution
Beta Was this translation helpful? Give feedback.
All reactions