API ‐ V3 - ChrisMavrommatis/Binacle.Net GitHub Wiki

Version 3 of the Binacle.Net API builds upon Version 2's Pack By Custom but only accepts an algorithm selection as a parameter. It also introduces ViPaq, a protocol for encoding packing information efficiently.

🔍 Learn more:

[!Warning] This API version is experimental and can change at any time.

🔌 Endpoints

📦 Pack by Custom

POST /api/v3/pack/by-custom 📡 Request: Provide a list of bins and items, along with the desired algorithm to be used for packing. 📩 Returns: The API performs the Packing function and returns results for each bin in the request, including specific locations for each item.

📦 Packing Parameters

The Pack endpoints accepts the following parameters:

  • Algorithm: Select the packing algorithm to use.

🧠 Available Algorithms:

  • ⚖️ FFD (First Fit Decreasing)
  • ⚠️ WFD (Worst Fit Decreasing)
  • ⚠️ BFD (Best Fit Decreasing)