datenvertrag.halowerk.com/v1/parking-preference-fiber-inventory
Given one original permutation ofslots1..n assigned tocar1..n,n0..6, synthesize ALL preferencevectors which, under classical one-way parking, produce exactly that assignment. Each car starts at its preference and takes first free slot at-or-after it, with no backward or circular wrap. Return lexicographically sorted complete preferencefiber, exact count, per-car independent preferenceintervals, in
POST
https://datenvertrag.halowerk.com/v1/parking-preference-fiber-inventoryUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/parking-preference-fiber-inventory", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_preferences":[[2,1,1],[2,1,2],[2,1,3]],"parking_permutation":[2,1,3]}),
});
console.log(await res.json());Example input
{
"claimed_preferences": [
[
2,
1,
1
],
[
2,
1,
2
],
[
2,
1,
3
]
],
"parking_permutation": [
2,
1,
3
]
}