curl --request GET \
--url https://api.eddy.engineer/v1/bim.panels/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.panels/{key}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.eddy.engineer/v1/bim.panels/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/bim.panels/{key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/bim.panels/{key}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eddy.engineer/v1/bim.panels/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.panels/{key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"diagram": {},
"drawable": true,
"edit": "<string>",
"jurisdiction": {},
"key": "<string>",
"printed": [
{}
],
"refused": [
{}
],
"schedules": [
{}
],
"schema": "<string>",
"sheets": [
{}
],
"sheets_refused": {},
"table_gaps": [
{}
],
"unscheduled": {},
"values": [
{}
]
}Panel schedules per board and the single-line diagram of the electrical tree, with the generated sheets' plan (MEP14)
Derived from MEP12’s tree sized by MEP13 for the same document, never stored. A schedule has a row per circuit in way order: way, phases (and their basis), what it serves, its connected VA and A on each phase, its protective device, breaking capacity, cable (* where the sizing selected it rather than a person entering it), length, voltage drop from the origin and Zs where sized, and MEP13’s verdict; every row ties to the graph: the circuit’s name, the loads it serves with their power connectors, its wires, the boards it feeds and entered_on, the elements holding its data. Board totals (connected load, maximum demand, fault level, drop to the board) and phase balance are MEP12’s and MEP13’s own. printed is each schedule cell for cell as the sheets print it. diagram lays the tree out from each source to its boards and their ways, deterministically (names and way order only). Read-only: a change is the engine’s own modify on an element of entered_on, through /v1/bim.run. What cannot be drawn honestly is listed in refused (PANEL_BOARD_WITHOUT_SUPPLY for a board with no supply and every board below it, PANEL_BOARD_REPEATED, PANEL_NO_BOARDS), and then there is no diagram and the sheets are refused; sheets is the plan of the generated set on paper, or sheets_refused says why not. A design aid for a person to review.
curl --request GET \
--url https://api.eddy.engineer/v1/bim.panels/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.panels/{key}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.eddy.engineer/v1/bim.panels/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/bim.panels/{key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/bim.panels/{key}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eddy.engineer/v1/bim.panels/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.panels/{key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"diagram": {},
"drawable": true,
"edit": "<string>",
"jurisdiction": {},
"key": "<string>",
"printed": [
{}
],
"refused": [
{}
],
"schedules": [
{}
],
"schema": "<string>",
"sheets": [
{}
],
"sheets_refused": {},
"table_gaps": [
{}
],
"unscheduled": {},
"values": [
{}
]
}