no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | api:estimate [2017/10/06 08:51] – [Public] knutkohl | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Solar production estimate ====== | ||
+ | |||
+ | Get solar production estimate for specific location (defined by **latitude** and **longitude**) and a specific plane orientation (defined by **declination** and **azimuth**) for an installed **module power**. | ||
+ | |||
+ | ===== Public ===== | ||
+ | |||
+ | One plane can be accessed by an API call: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Private ===== | ||
+ | |||
+ | One plane can be accessed by an API call: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Professional ===== | ||
+ | |||
+ | Up to 3 planes can be accessed by one API call. | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | ===== URL parameters ===== | ||
+ | |||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | |||
+ | You can poke around with the [[http:// | ||
+ | ===== Watts, Watt hours, Watt hours day ===== | ||
+ | |||
+ | There are also routes available to query only the watts, watt hours or watt hours per day. | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | The same for Private and Professional accounts with API key | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | Here you can query with a Professional account also up to 3 planes at once. | ||
+ | ===== Example ===== | ||
+ | |||
+ | Get solar production estimate per day as [[: | ||
+ | |||
+ | <code bash> | ||
+ | curl -H " | ||
+ | </ | ||
+ | |||
+ | <code csv> | ||
+ | 2016-02-08; | ||
+ | 2016-02-09; | ||
+ | 2016-02-10; | ||
+ | 2016-02-11; | ||
+ | 2016-02-12; | ||
+ | 2016-02-13; | ||
+ | 2016-02-14; | ||
+ | 2016-02-15; | ||
+ | </ | ||
+ | |||
+ | Get solar production estimate as [[: | ||
+ | |||
+ | <code bash> | ||
+ | curl https:// | ||
+ | </ | ||
+ | |||
+ | <code json> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | |||