curl --request GET \
--url https://api.eddy.engineer/v1/bim.fittings/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.fittings/{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.fittings/{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.fittings/{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.fittings/{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.fittings/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.fittings/{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{
"commands": [
{}
],
"families": [
"<string>"
],
"fitting_count": 123,
"fittings": [
{}
],
"key": "<string>",
"parameters": [
{}
],
"proposal_count": 123,
"proposals": [
{}
],
"schema": "<string>",
"sizes": {},
"skipped": [
{}
],
"skipped_count": 123
}The document's fittings, their loss data, the size check's basis, and proposals that place generic elbows, tees and reducers (MEP4)
Read off the system graph (/v1/bim.systems/{key}), within its budgets. fittings lists every pipe fitting and accessory with its connectors’ nominal sizes and its loss data: loss and branch_loss are what a person entered as the project parameters Loss coefficient and Branch loss coefficient (made by commands, set by modify {id, params}), never looked up, and not_entered names what is missing (never zero); a reducer also lists Borda–Carnot’s abrupt-expansion closed form, named with what it assumes. sizes states the size check’s basis: a run’s type gives its outside section, a connector’s size is nominal, and a run has a nominal size only where its Nominal size is entered; nominal sizes at a node must agree, runs without one compare outside to outside, and a run without one meeting a connector is listed in unmapped, never a pass or a step. Where sizes differ the graph’s finding is SIZE_STEP_WITHOUT_REDUCER (steps). proposals place the generic families (Generic elbow, Generic tee, Generic reducer and their duct kin, round only) at bends, junctions of three runs, branches on a main’s length (JOINED_MID_RUN) and size steps, each as the commands /v1/bim.run takes in order: family when the project lacks it, modify on the runs, pipe or duct where a main is split, component. A command’s id may be "$n", the first id the n-th command of the same proposal made. skipped names where no fitting is proposed and why (a sloped or upright run, a rectangular duct, a run too short, a size step at a bend or a tee, four runs at a node, a project family of the generic name that is not the generic one). The first 1,000 of each are listed; the counts count them all. Refusals are the graph’s: SYSTEMS_TOO_LARGE, SYSTEMS_OVER_BUDGET.
curl --request GET \
--url https://api.eddy.engineer/v1/bim.fittings/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.fittings/{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.fittings/{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.fittings/{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.fittings/{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.fittings/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.fittings/{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{
"commands": [
{}
],
"families": [
"<string>"
],
"fitting_count": 123,
"fittings": [
{}
],
"key": "<string>",
"parameters": [
{}
],
"proposal_count": 123,
"proposals": [
{}
],
"schema": "<string>",
"sizes": {},
"skipped": [
{}
],
"skipped_count": 123
}