vrm_portal:vrm_juice_json_api_notes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
drafts:vrm_juice_json_api [2015-01-26 11:16] – created mvader | vrm_portal:vrm_juice_json_api_notes [2019-01-22 10:16] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VRM JSON Juice API ====== | + | ====== VRM JSON Juice API notes (DEPRECATED!)====== |
- | API documentation | + | The VRM Juice API has been deprecated in favor of the VRM v2 API. See new API documentation here: |
+ | https:// | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | The Juice API can be used to request data from the VRM database, using JSON. On this page there are usage notes as well as an example. The formal API documentation is found here: https:// | ||
+ | |||
+ | An example PHP file is here: [[vrm_juice_php_example]]. | ||
+ | |||
+ | A Wordpress blog that uses the API to show actual solar yield in Watts as well as a complete system status is here: http:// | ||
+ | |||
+ | And the source code of the iOS and Android VRM apps, also using the Juice API, are here: | ||
+ | * https:// | ||
+ | * https:// | ||
+ | ===== idDataAttribute vs code ===== | ||
+ | When parsing results, do not use the idDataAttribute. Use the code instead. | ||
+ | |||
+ | ===== Formatting values, and adding a unit (ie. V or W) ===== | ||
+ | |||
+ | the API will reply with a format string, usable by many programming languages. For PHP see printf | ||
+ | |||
+ | ===== Juice backend work list ===== | ||
+ | - Make it clear that sites/ | ||
+ | |||
+ | ===== Postman App for Chrome: useful to test! ===== | ||
+ | https:// | ||
+ | |||
+ | |||
+ | ===== DISQUS ===== | ||
+ | ~~DISQUS~~ | ||
vrm_portal/vrm_juice_json_api_notes.txt · Last modified: 2019-01-22 10:16 by 127.0.0.1