Migration Guide: v1 β v2
This page provides an overview of the changes required when migrating from v1 to v2 of the API.
Laatst bijgewerkt
This page provides an overview of the changes required when migrating from v1 to v2 of the API.
v1
{
"post_code": "3024XL",
"house_number": "227",
"house_addition": "B"
}v2
{
"postcode": "3024XL",
"housenumber": "227",
"houseaddition": "B"
}electric_cooking
cooling
apartment_type
The solar_panels structure has changed from a single integer value to a list describing individual solar panel installations.
New solar panel related fields include:
solar_panels (per solar panel)
pv_total_watt_peak
pv_area
specific_watt_peak
angle
orientation
The response structure now includes additional fields and updated naming.
cooling
electric_cooking
solar_panels (per solar panel)
roof_surface
original_watt_peak_capacity
total_watt_peak_capacity
inclination_angle
orientation
The value range for several features has changed.
Previously these values ranged from 0β3, but they now range from 1β4.
Affected features include:
wall_insulation
floor_insulation
roof_insulation
living_room_windows
v1
v2
Laatst bijgewerkt
1 = mediocre wall insulation2 = mediocre wall insulation