/v1/solve
Solve a maze
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/maze-api/v1/solve" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maze-api/v1/solve", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maze-api/v1/solve");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/maze-api/v1/solve",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"path": [
[
0,
0
],
[
0,
1
],
[
1,
1
],
[
1,
2
],
[
0,
2
],
[
0,
3
],
[
0,
4
],
[
1,
4
],
[
2,
4
],
[
2,
5
],
[
2,
6
],
[
3,
6
],
[
3,
7
],
[
2,
7
],
[
2,
8
],
[
3,
8
],
[
3,
9
],
[
4,
9
],
[
5,
9
],
[
5,
8
],
[
5,
7
],
[
4,
7
],
[
4,
6
],
[
5,
6
],
[
5,
5
],
[
6,
5
],
[
6,
4
],
[
6,
3
],
[
7,
3
],
[
8,
3
],
[
8,
2
],
[
9,
2
],
[
9,
3
],
[
9,
4
],
[
8,
4
],
[
8,
5
],
[
8,
6
],
[
8,
7
],
[
8,
8
],
[
9,
8
],
[
9,
9
]
],
"seed": 42,
"ascii": "+---+---+---+---+---+---+---+---+---+---+\n| S | | |\n+ +---+ +---+---+ + +---+---+ +\n| * * | | | | |\n+---+ + + +---+---+---+ +---+
…