get https://hover.to/api/waste_factor/roof
Why would I use this?
This endpoint provides Recommended Roof Waste Factor in the form of a percentage. This API can be used to extract the resulting value from Hover’s RWF calculation from any Hover job.
Using this Endpoint
This endpoint leverages required parameters to calculate the Recommended Roof Waste Factor. 🛑The Summarized JSON via the JSON Measurements endpoint provides the parameters needed to make this request. 🛑The parameters map to the Summarized JSON values as follows:
- Step_flashing_linear feet: ‘step_flashing’
- Valleys_linea _feet - ‘valleys’
- Hips_linear_feet - ‘ridges_hips’
- Rakes_linear_feet - ‘rakes’
- Roof_square_feet - ‘roof_facets {area}’
Response Code Snippet
See an example 200 response body below; a JSON blob containing the Recommended Roof Waste Factor as a percentage, then follow below to learn more about the request, and what makes up the responses.
{
"predicted_roof_waste_factor": 7.2
}