Steinbo(T) - Swiss Solar Expert
Steinbo(T) - Swiss Solar Expert · GPT-Aktionen
Solar Energy Services API
API for calculating solar panel potential, processing solar data, finding solar installers, and creating leads.
POST /solar_panel_calculationsSolarPanelCalculationsCalculates solar panel potential for a given address.
POST /process_solar_dataProcessSolarDataProcesses solar data for a given address.
POST /find_best_solar_installersFindBestSolarInstallersFinds the best solar installers for a given address.
POST /create_leadCreateLeadCreates a lead with provided contact information.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Solar Energy Services API",
"description": "API for calculating solar panel potential, processing solar data, finding solar installers, and creating leads.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://app3.aisolar.pro"
}
],
"paths": {
"/solar_panel_calculations": {
"post": {
"description": "Calculates solar panel potential for a given address.",
"operationId": "SolarPanelCalculations",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string",
"example": "Av. de l'Ile-Heureuse 4, 1800 Vevey, Switzerland"
}
},
"required": [
"address"
]
}
}
}
}
}
},
"/process_solar_data": {
"post": {
"description": "Processes solar data for a given address.",
"operationId": "ProcessSolarData",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string",
"example": "Av. de l'Ile-Heureuse 4, 1800 Vevey, Switzerland"
}
},
"required": [
"address"
]
}
}
}
}
}
},
"/find_best_solar_installers": {
"post": {
"description": "Finds the best solar installers for a given address.",
"operationId": "FindBestSolarInstallers",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string",
"example": "Av. de l'Ile-Heureuse 4, 1800 Vevey, Switzerland"
}
},
"required": [
"address"
]
}
}
}
}
}
},
"/create_lead": {
"post": {
"description": "Creates a lead with provided contact information.",
"operationId": "CreateLead",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "John Doe"
},
"phone": {
"type": "string",
"example": "+123456789"
},
"address": {
"type": "string",
"example": "Av. de l'Ile-Heureuse 4, 1800 Vevey, Switzerland"
}
},
"required": [
"name",
"phone",
"address"
]
}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}