Endpoints
The SolarFarmer web API has a number of endpoints that you can use, depending on the task you want to do.
An endpoint is the point of entry in the communication between an API and a server. See https://en.wikipedia.org/wiki/Web_API for a bit of background information on web APIs.
About endpoint
The About
endpoint requires no inputs and returns the version number of the libraries used by the web API.
See About Endpoint for its definition.
See About Endpoint Tutorial for a tutorial on how to use it.
SolarPosition endpoint
The SolarPosition
endpoint returns the solar position (zenith and azimuth) for a given location (longitude, latitude
and elevation) and date and time.
See SolarPosition Endpoint for its definition.
See SolarPosition Endpoint Tutorial for a tutorial on how to use it.
ModelChain endpoint
The ModelChain
endpoint runs the energy calculation. This will probably be the principal endpoint that you
use with the web API.
See ModelChain Endpoint for its definition.
See ModelChain Endpoint Tutorial for a tutorial on how to use it.