curl --request GET \
--url https://api.eddy.engineer/v1/bim.systems/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.systems/{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.systems/{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.systems/{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.systems/{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.systems/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.systems/{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{
"counts": {},
"design": {},
"finding_count": 123,
"finding_counts": {},
"findings": [
{}
],
"groups": [
{}
],
"key": "<string>",
"schema": "<string>",
"sizes": {},
"tolerance": 123,
"values": [
{}
],
"work": 123
}The document's system graph: connected pipes and ducts, their groups and typed findings (MEP3)
Derived from the document and never stored: runs’ ends and pipe and duct connectors within tolerance mm (1 by default, 50 at most) are one node, a fitting’s or a valve’s connectors are joined through it, and a pipe never joins a duct. Each group lists its elements, its runs’ systems, its connectors’ domains (cold, hot, waste, vent, storm, gas, air, refrigerant), its terminals and its loops, and is complete when no finding names it. Findings: OPEN_END (a run’s end or a fitting’s connector meets nothing), UNCONNECTED_TERMINAL (a fixture’s or a terminal’s connector meets nothing), SYSTEM_MISMATCH (two systems or two domains joined), JOINED_MID_RUN (an end on another run’s length, with no fitting), CONNECTORS_UNEVALUABLE (a component whose connectors do not work out for its values, so it joins nothing), SIZE_STEP_WITHOUT_REDUCER (MEP4: ends of different sizes meet with no reducer, compared on a stated basis: nominal sizes agree, runs without an entered Nominal size compare outside sections; sizes counts the nodes compared and lists the run-to-connector pairs with no common basis as unmapped, never a pass). An end is open when it reaches at most one other node, so a run drawn over another or shorter than the tolerance is a dead end. values are the entered design values (Design flow, Fixture demand, both L/s), and design.commands the parameter runs that add them to a project. A summary lists the first 1,000 findings (finding_count counts them all); detail=full adds nodes, edges and runs and lists every finding. Refusals: SYSTEMS_TOO_LARGE past 200,000 ends and connectors, SYSTEMS_OVER_BUDGET past its work budget (which charges each component its family’s formulas), SYSTEMS_TOLERANCE (including a tolerance that is not a finite number), LEVEL_UNKNOWN.
curl --request GET \
--url https://api.eddy.engineer/v1/bim.systems/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.systems/{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.systems/{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.systems/{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.systems/{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.systems/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.systems/{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{
"counts": {},
"design": {},
"finding_count": 123,
"finding_counts": {},
"findings": [
{}
],
"groups": [
{}
],
"key": "<string>",
"schema": "<string>",
"sizes": {},
"tolerance": 123,
"values": [
{}
],
"work": 123
}