Differences
This shows you the differences between two versions of the page.
Previous revision | |||
api:estimate [2019/12/30 14:50] – [Personal] knutkohl | — | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Examples here use the '' | ||
- | |||
- | ===== 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**. | ||
- | |||
- | ===== Historic solar production ===== | ||
- | |||
- | '' | ||
- | |||
- | ===== Clear sky solar production ===== | ||
- | |||
- | If there were no clouds it would be a clear sky. `clearsky` thus calculates the theoretically possible production. | ||
- | |||
- | ===== Public ===== | ||
- | |||
- | * One plane can be accessed by an API call | ||
- | * only '' | ||
- | |||
- | https:// | ||
- | |||
- | ===== Personal ===== | ||
- | |||
- | * One plane can be accessed by an API call | ||
- | * '' | ||
- | |||
- | https:// | ||
- | |||
- | ===== Professional ===== | ||
- | |||
- | * Combined data of 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 Personal 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 '' | ||